FMN: pull the python3 packages for notifs-web02

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon
2021-05-10 13:49:38 +02:00
parent e66e6446a1
commit 35ef387669

View File

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