Use ansible for collab default settings
This commit is contained in:
parent
61e9094657
commit
3b957e5685
1 changed files with 19 additions and 0 deletions
|
@ -52,3 +52,22 @@
|
||||||
mode: 0660
|
mode: 0660
|
||||||
seuser: _default
|
seuser: _default
|
||||||
setype: _default
|
setype: _default
|
||||||
|
|
||||||
|
- name: auto create collab users
|
||||||
|
lineinfile:
|
||||||
|
path: /srv/wikis/collab/config/collabfarm.py
|
||||||
|
regexp: '^\s+auth = .*'
|
||||||
|
line: ' auth = [GivenAuth(autocreate=True)]'
|
||||||
|
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
|
||||||
|
- name: set collab default theme
|
||||||
|
lineinfile:
|
||||||
|
path: /srv/wikis/collab/config/collabfarm.py
|
||||||
|
regexp: '^\s+theme_default = .*'
|
||||||
|
line: " theme_default = 'foosh'"
|
||||||
|
notify: restart apache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue