Tag the fmn roles.
This commit is contained in:
parent
837e4c6aa6
commit
f4aaca9f8a
2 changed files with 44 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
||||||
- python-fmn-consumer
|
- python-fmn-consumer
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/backend
|
||||||
|
|
||||||
- name: copy database configuration
|
- name: copy database configuration
|
||||||
template: >
|
template: >
|
||||||
|
@ -16,6 +19,9 @@
|
||||||
- fmn.consumer.py
|
- fmn.consumer.py
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/backend
|
||||||
|
|
||||||
- name: copy the alembic configuration for DBAs
|
- name: copy the alembic configuration for DBAs
|
||||||
template: >
|
template: >
|
||||||
|
@ -23,6 +29,9 @@
|
||||||
owner=root group=sysadmin-dba mode=0660
|
owner=root group=sysadmin-dba mode=0660
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/backend
|
||||||
|
|
||||||
# Here I'm "permanently" hotfixing the fedmsg-hub
|
# Here I'm "permanently" hotfixing the fedmsg-hub
|
||||||
# It needs to load the forward-compat sqlalchemy0.7 package from the get-go.
|
# 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
|
src=patched-fedmsg-hub dest=/usr/bin/fedmsg-hub
|
||||||
owner=root group=root mode=0755
|
owner=root group=root mode=0755
|
||||||
tags:
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/backend
|
||||||
- patches
|
- patches
|
||||||
- hotfix
|
- hotfix
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
- python-fmn-web
|
- python-fmn-web
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: copy fmn app configuration
|
- name: copy fmn app configuration
|
||||||
template: >
|
template: >
|
||||||
|
@ -16,17 +19,26 @@
|
||||||
- fmn.web.py
|
- fmn.web.py
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: destroy a bogus config file brought in by python-datanommer-models
|
- name: destroy a bogus config file brought in by python-datanommer-models
|
||||||
file: dest=/etc/fedmsg.d/datanommer.py state=absent
|
file: dest=/etc/fedmsg.d/datanommer.py state=absent
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: setup symlink to fedora theme
|
- name: setup symlink to fedora theme
|
||||||
file: >
|
file: >
|
||||||
src=/usr/share/fmn.web/static/bootstrap-3.0.2-fedora
|
src=/usr/share/fmn.web/static/bootstrap-3.0.2-fedora
|
||||||
dest=/usr/share/fmn.web/static/bootstrap
|
dest=/usr/share/fmn.web/static/bootstrap
|
||||||
state=link
|
state=link
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: copy fmn httpd config
|
- name: copy fmn httpd config
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -34,11 +46,17 @@
|
||||||
owner=apache group=apache mode=0644
|
owner=apache group=apache mode=0644
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: copy custom wsgi file
|
- name: copy custom wsgi file
|
||||||
copy: src=fmn.web.wsgi dest=/usr/share/fmn.web/fmn.web.wsgi mode=0644
|
copy: src=fmn.web.wsgi dest=/usr/share/fmn.web/fmn.web.wsgi mode=0644
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: copy app configuration
|
- name: copy app configuration
|
||||||
template: >
|
template: >
|
||||||
|
@ -46,15 +64,24 @@
|
||||||
owner=root group=apache mode=0640
|
owner=root group=apache mode=0640
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: create live docs directory
|
- name: create live docs directory
|
||||||
file: >
|
file: >
|
||||||
dest=/usr/lib/python2.6/site-packages/fmn/web/docs/
|
dest=/usr/lib/python2.6/site-packages/fmn/web/docs/
|
||||||
state=directory
|
state=directory
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: copy live docs
|
- name: copy live docs
|
||||||
copy: src={{ item }} dest=/usr/lib/python2.6/site-packages/fmn/web/docs
|
copy: src={{ item }} dest=/usr/lib/python2.6/site-packages/fmn/web/docs
|
||||||
with_fileglob: fedora-sitedocs/*.rst
|
with_fileglob: fedora-sitedocs/*.rst
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: apply selinux type to static files
|
- name: apply selinux type to static files
|
||||||
file: >
|
file: >
|
||||||
|
@ -62,6 +89,12 @@
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
state=directory
|
state=directory
|
||||||
recurse=yes
|
recurse=yes
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
||||||
- name: ensure selinux lets httpd talk to postgres
|
- name: ensure selinux lets httpd talk to postgres
|
||||||
seboolean: name=httpd_can_network_connect_db state=yes persistent=yes
|
seboolean: name=httpd_can_network_connect_db state=yes persistent=yes
|
||||||
|
tags:
|
||||||
|
- notifs
|
||||||
|
- notifs/frontend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue