diff --git a/roles/collab/tasks/main.yml b/roles/collab/tasks/main.yml index fc4ee5b..fe26f15 100644 --- a/roles/collab/tasks/main.yml +++ b/roles/collab/tasks/main.yml @@ -35,6 +35,21 @@ - graphingwiki - 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 patch: src: "moin-{{ moin_version }}.patch" @@ -209,21 +224,6 @@ state: link 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 user: name: apache