mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
FMN: pull the python3 packages for notifs-web02
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
---
|
||||
# Configuration for the Fedora Notifications webapp
|
||||
|
||||
- name: install needed packages
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
@@ -8,9 +7,26 @@
|
||||
- python-psycopg2
|
||||
- libsemanage-python
|
||||
- python-memcached
|
||||
- python-flask-openid
|
||||
- python-bunch
|
||||
notify:
|
||||
- restart apache
|
||||
when:
|
||||
inventory_hostname.startswith('notifs-backend01')
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
|
||||
- name: install needed packages
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
- python3-fmn
|
||||
- python3-psycopg2
|
||||
- python3-libsemanage
|
||||
- python3-memcached
|
||||
- python3-flask-openid
|
||||
notify:
|
||||
- restart apache
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
@@ -26,16 +42,6 @@
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
|
||||
- name: install packages needed from epel testing
|
||||
package: name={{ item }} state=present enablerepo=epel-testing
|
||||
with_items:
|
||||
- python-flask-openid
|
||||
notify:
|
||||
- restart apache
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
|
||||
- name: copy fmn app configuration
|
||||
template: >
|
||||
src={{ item }} dest=/etc/fedmsg.d/{{ item }}
|
||||
|
||||
Reference in New Issue
Block a user