freshmaker: Port from the yum module to the package module
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
f2d38f43d8
commit
371329018c
1 changed files with 5 additions and 14 deletions
|
@ -1,26 +1,17 @@
|
|||
---
|
||||
- name: install the packages required for Freshmaker frontend
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
package:
|
||||
name: ["httpd", "mod_wsgi", "mod_auth_openidc",
|
||||
"libsemanage-python", "python-psycopg2", "freshmaker"]
|
||||
state: present
|
||||
with_items:
|
||||
- httpd
|
||||
- mod_wsgi
|
||||
- mod_auth_openidc
|
||||
- libsemanage-python
|
||||
- python-psycopg2
|
||||
- freshmaker
|
||||
when: inventory_hostname.startswith('freshmaker-frontend')
|
||||
tags:
|
||||
- freshmaker
|
||||
|
||||
- name: install the packages required for Freshmaker backend
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
package:
|
||||
name: ["python-psycopg2", "freshmaker"]
|
||||
state: present
|
||||
with_items:
|
||||
- python-psycopg2
|
||||
- freshmaker
|
||||
when: inventory_hostname.startswith('freshmaker-backend')
|
||||
tags:
|
||||
- freshmaker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue