iad2: have rabbitmq instances use rhos16 instead of rhos13, which was/is rhel7 based

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-31 13:35:43 -07:00
parent 8762362a65
commit 5f626eb145
2 changed files with 14 additions and 0 deletions

View file

@ -6,6 +6,16 @@
- config
- packages
- yumrepos
when: ansible_distribution_major_version|int == 7
- name: Install RHOSP16 repo file
copy: src="{{ files }}/common/rhos16.repo" dest=/etc/yum.repos.d/rhos16.repo
tags:
- rabbitmq_cluster
- config
- packages
- yumrepos
when: ansible_distribution_major_version|int == 8
- name: install needed packages
package: