collab: Move theme install to different place
Trying to avoid hardcoding pahts.
This commit is contained in:
parent
07a5adafa6
commit
a3492d4490
1 changed files with 15 additions and 15 deletions
|
@ -35,6 +35,21 @@
|
||||||
- graphingwiki
|
- graphingwiki
|
||||||
- collabbackend
|
- collabbackend
|
||||||
|
|
||||||
|
- name: install foo.sh theme
|
||||||
|
copy:
|
||||||
|
src: foosh.py
|
||||||
|
dest: "{{ srcdir }}/collabbackend/collabbackend/plugin/theme/foosh.py"
|
||||||
|
mode: 0644
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
|
- name: install static files for foo.sh theme
|
||||||
|
synchronize:
|
||||||
|
dest: "{{ srcdir }}/collabbackend/htdocs"
|
||||||
|
src: foo.sh
|
||||||
|
delete: true
|
||||||
|
recursive: true
|
||||||
|
|
||||||
- name: patch moin source
|
- name: patch moin source
|
||||||
patch:
|
patch:
|
||||||
src: "moin-{{ moin_version }}.patch"
|
src: "moin-{{ moin_version }}.patch"
|
||||||
|
@ -209,21 +224,6 @@
|
||||||
state: link
|
state: link
|
||||||
follow: false
|
follow: false
|
||||||
|
|
||||||
- name: install foo.sh theme
|
|
||||||
copy:
|
|
||||||
src: foosh.py
|
|
||||||
dest: /usr/lib/python2.7/site-packages/collabbackend/plugin/theme/foosh.py
|
|
||||||
mode: 0644
|
|
||||||
owner: root
|
|
||||||
group: "{{ ansible_wheel }}"
|
|
||||||
|
|
||||||
- name: install static files for foo.sh theme
|
|
||||||
synchronize:
|
|
||||||
dest: "/srv/web/{{ inventory_hostname }}/moin_static/"
|
|
||||||
src: foo.sh
|
|
||||||
delete: true
|
|
||||||
recursive: true
|
|
||||||
|
|
||||||
- name: add apache to collab group
|
- name: add apache to collab group
|
||||||
user:
|
user:
|
||||||
name: apache
|
name: apache
|
||||||
|
|
Loading…
Add table
Reference in a new issue