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