collab: Move theme install to different place

Trying to avoid hardcoding pahts.
This commit is contained in:
Timo Makinen 2020-09-08 23:32:54 +00:00
parent 07a5adafa6
commit a3492d4490

View file

@ -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