Fix restart handlers from collab playbook

This commit is contained in:
Timo Makinen 2022-10-30 23:53:56 +00:00
parent c79e34d94b
commit 96f990ad18

View file

@ -38,7 +38,7 @@
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart apache
notify: Restart apache
- name: create htaccess for collab
copy:
@ -67,16 +67,16 @@
path: /srv/wikis/collab/config/collabfarm.py
regexp: '^\s+auth = .*'
line: ' auth = [GivenAuth(autocreate=True)]'
notify: restart apache
notify: Restart apache
- name: set collab base url
lineinfile:
path: /srv/wikis/collab/config/collabfarm.py
regexp: '^\s+collab_baseurl = .*'
line: " collab_baseurl = 'https://collab.foo.sh/collab/'"
notify: restart apache
notify: Restart apache
- name: set collab default theme
lineinfile:
path: /srv/wikis/collab/config/collabfarm.py
regexp: '^\s+theme_default = .*'
line: " theme_default = 'foosh'"
notify: restart apache
notify: Restart apache