diff --git a/roles/notifs/backend/tasks/main.yml b/roles/notifs/backend/tasks/main.yml index 61b58b9005..0544f05262 100644 --- a/roles/notifs/backend/tasks/main.yml +++ b/roles/notifs/backend/tasks/main.yml @@ -7,6 +7,9 @@ - python-fmn-consumer - python-psycopg2 - libsemanage-python + tags: + - notifs + - notifs/backend - name: copy database configuration template: > @@ -16,6 +19,9 @@ - fmn.consumer.py notify: - restart fedmsg-hub + tags: + - notifs + - notifs/backend - name: copy the alembic configuration for DBAs template: > @@ -23,6 +29,9 @@ owner=root group=sysadmin-dba mode=0660 notify: - restart fedmsg-hub + tags: + - notifs + - notifs/backend # Here I'm "permanently" hotfixing the fedmsg-hub # It needs to load the forward-compat sqlalchemy0.7 package from the get-go. @@ -31,6 +40,8 @@ src=patched-fedmsg-hub dest=/usr/bin/fedmsg-hub owner=root group=root mode=0755 tags: + - notifs + - notifs/backend - patches - hotfix notify: diff --git a/roles/notifs/frontend/tasks/main.yml b/roles/notifs/frontend/tasks/main.yml index 8252312586..3f2228b698 100644 --- a/roles/notifs/frontend/tasks/main.yml +++ b/roles/notifs/frontend/tasks/main.yml @@ -7,6 +7,9 @@ - python-fmn-web - python-psycopg2 - libsemanage-python + tags: + - notifs + - notifs/frontend - name: copy fmn app configuration template: > @@ -16,17 +19,26 @@ - fmn.web.py notify: - restart apache + tags: + - notifs + - notifs/frontend - name: destroy a bogus config file brought in by python-datanommer-models file: dest=/etc/fedmsg.d/datanommer.py state=absent notify: - restart apache + tags: + - notifs + - notifs/frontend - name: setup symlink to fedora theme file: > src=/usr/share/fmn.web/static/bootstrap-3.0.2-fedora dest=/usr/share/fmn.web/static/bootstrap state=link + tags: + - notifs + - notifs/frontend - name: copy fmn httpd config copy: > @@ -34,11 +46,17 @@ owner=apache group=apache mode=0644 notify: - restart apache + tags: + - notifs + - notifs/frontend - name: copy custom wsgi file copy: src=fmn.web.wsgi dest=/usr/share/fmn.web/fmn.web.wsgi mode=0644 notify: - restart apache + tags: + - notifs + - notifs/frontend - name: copy app configuration template: > @@ -46,15 +64,24 @@ owner=root group=apache mode=0640 notify: - restart apache + tags: + - notifs + - notifs/frontend - name: create live docs directory file: > dest=/usr/lib/python2.6/site-packages/fmn/web/docs/ state=directory + tags: + - notifs + - notifs/frontend - name: copy live docs copy: src={{ item }} dest=/usr/lib/python2.6/site-packages/fmn/web/docs with_fileglob: fedora-sitedocs/*.rst + tags: + - notifs + - notifs/frontend - name: apply selinux type to static files file: > @@ -62,6 +89,12 @@ setype=httpd_sys_content_t state=directory recurse=yes + tags: + - notifs + - notifs/frontend - name: ensure selinux lets httpd talk to postgres seboolean: name=httpd_can_network_connect_db state=yes persistent=yes + tags: + - notifs + - notifs/frontend