yum/dnf agnostic package commands for odcs.

This commit is contained in:
Ralph Bean 2017-09-27 18:28:20 +00:00
parent f6ae88deca
commit c4f04482d1

View file

@ -1,8 +1,8 @@
---
# install packages and generate shared configuration files
- name: install the packages required for ODCS
yum:
name: "{{ item }}"
package:
pkg: "{{ item }}"
state: present
with_items:
- python-psycopg2
@ -12,8 +12,8 @@
- odcs
- name: install the latest ODCS packagess
yum:
name: "{{ item }}"
package:
pkg: "{{ item }}"
state: latest
with_items:
- python2-odcs-common
@ -25,8 +25,8 @@
# install required packages for frontend here, as we may
# need to reload httpd in next task when host is frontend
- name: install the packages required for ODCS frontend
yum:
name: "{{ item }}"
package:
pkg: "{{ item }}"
state: present
with_items:
- mod_auth_openidc
@ -37,8 +37,8 @@
- odcs/frontend
- name: install the packages required for ODCS backend
yum:
name: "{{ item }}"
package:
pkg: "{{ item }}"
state: present
with_items:
- koji