Fix restart handlers from collab playbook
This commit is contained in:
parent
c79e34d94b
commit
96f990ad18
1 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
notify: restart apache
|
notify: Restart apache
|
||||||
|
|
||||||
- name: create htaccess for collab
|
- name: create htaccess for collab
|
||||||
copy:
|
copy:
|
||||||
|
@ -67,16 +67,16 @@
|
||||||
path: /srv/wikis/collab/config/collabfarm.py
|
path: /srv/wikis/collab/config/collabfarm.py
|
||||||
regexp: '^\s+auth = .*'
|
regexp: '^\s+auth = .*'
|
||||||
line: ' auth = [GivenAuth(autocreate=True)]'
|
line: ' auth = [GivenAuth(autocreate=True)]'
|
||||||
notify: restart apache
|
notify: Restart apache
|
||||||
- name: set collab base url
|
- name: set collab base url
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /srv/wikis/collab/config/collabfarm.py
|
path: /srv/wikis/collab/config/collabfarm.py
|
||||||
regexp: '^\s+collab_baseurl = .*'
|
regexp: '^\s+collab_baseurl = .*'
|
||||||
line: " collab_baseurl = 'https://collab.foo.sh/collab/'"
|
line: " collab_baseurl = 'https://collab.foo.sh/collab/'"
|
||||||
notify: restart apache
|
notify: Restart apache
|
||||||
- name: set collab default theme
|
- name: set collab default theme
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /srv/wikis/collab/config/collabfarm.py
|
path: /srv/wikis/collab/config/collabfarm.py
|
||||||
regexp: '^\s+theme_default = .*'
|
regexp: '^\s+theme_default = .*'
|
||||||
line: " theme_default = 'foosh'"
|
line: " theme_default = 'foosh'"
|
||||||
notify: restart apache
|
notify: Restart apache
|
||||||
|
|
Loading…
Add table
Reference in a new issue