Use epel when approiate
Don't install epel7 when using rhel8, only for rhel7. Remove this patch once Centos 8 becaomes available. Change-Id: I10a35c6201c0282f7de8fb969b608a1604581e5e Signed-off-by: Charles Short <chucks@redhat.com>
This commit is contained in:
parent
9a4a84422b
commit
8bd21961e6
@ -15,7 +15,7 @@
|
|||||||
vars:
|
vars:
|
||||||
config_type: baremetal
|
config_type: baremetal
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- collectd-generic
|
- collectd-generic
|
||||||
tags: baremetal
|
tags: baremetal
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
@ -25,7 +25,7 @@
|
|||||||
vars:
|
vars:
|
||||||
config_type: guest
|
config_type: guest
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- collectd-generic
|
- collectd-generic
|
||||||
tags: guest
|
tags: guest
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
@ -35,7 +35,7 @@
|
|||||||
vars:
|
vars:
|
||||||
config_type: graphite
|
config_type: graphite
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- collectd-generic
|
- collectd-generic
|
||||||
tags: graphite
|
tags: graphite
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
config_type: undercloud
|
config_type: undercloud
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: collectd_undercloud }
|
- { role: common, when: collectd_undercloud }
|
||||||
- { role: epel, when: collectd_undercloud }
|
- { role: epel, when: collectd_undercloud and ansible_distribution_major_version == '7'}
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_undercloud }
|
- { role: collectd-openstack, when: collectd_undercloud }
|
||||||
tasks:
|
tasks:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- { role: osp_version }
|
- { role: osp_version }
|
||||||
- { role: common, when: collectd_controller }
|
- { role: common, when: collectd_controller }
|
||||||
- { role: epel, when: collectd_controller }
|
- { role: epel, when: collectd_controller and ansible_distribution_major_version == '7'}
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_controller }
|
- { role: collectd-openstack, when: collectd_controller }
|
||||||
tasks:
|
tasks:
|
||||||
@ -59,7 +59,7 @@
|
|||||||
config_type: networker
|
config_type: networker
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: collectd_networker }
|
- { role: common, when: collectd_networker }
|
||||||
- { role: epel, when: collectd_networker }
|
- { role: epel, when: collectd_networker and ansible_distribution_major_version == '7'}
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_networker }
|
- { role: collectd-openstack, when: collectd_networker }
|
||||||
tasks:
|
tasks:
|
||||||
@ -77,7 +77,7 @@
|
|||||||
config_type: blockstorage
|
config_type: blockstorage
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: collectd_blockstorage }
|
- { role: common, when: collectd_blockstorage }
|
||||||
- { role: epel, when: collectd_blockstorage }
|
- { role: epel, when: collectd_blockstorage ansible_distribution_major_version == '7' }
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_blockstorage }
|
- { role: collectd-openstack, when: collectd_blockstorage }
|
||||||
tasks:
|
tasks:
|
||||||
@ -95,7 +95,7 @@
|
|||||||
config_type: objectstorage
|
config_type: objectstorage
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: collectd_objectstorage }
|
- { role: common, when: collectd_objectstorage }
|
||||||
- { role: epel, when: collectd_objectstorage }
|
- { role: epel, when: collectd_objectstorage ansible_distribution_major_version == '7' }
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_objectstorage }
|
- { role: collectd-openstack, when: collectd_objectstorage }
|
||||||
tasks:
|
tasks:
|
||||||
@ -113,7 +113,7 @@
|
|||||||
config_type: cephstorage
|
config_type: cephstorage
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: collectd_cephstorage }
|
- { role: common, when: collectd_cephstorage }
|
||||||
- { role: epel, when: collectd_cephstorage }
|
- { role: epel, when: collectd_cephstorage and ansible_distribution_major_version == '7'}
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_cephstorage }
|
- { role: collectd-openstack, when: collectd_cephstorage }
|
||||||
tasks:
|
tasks:
|
||||||
@ -132,7 +132,7 @@
|
|||||||
roles:
|
roles:
|
||||||
- { role: osp_version }
|
- { role: osp_version }
|
||||||
- { role: common, when: collectd_compute }
|
- { role: common, when: collectd_compute }
|
||||||
- { role: epel, when: collectd_compute }
|
- { role: epel, when: collectd_compute and ansible_distribution_major_version == '7'}
|
||||||
- { role: repo }
|
- { role: repo }
|
||||||
- { role: collectd-openstack, when: collectd_compute }
|
- { role: collectd-openstack, when: collectd_compute }
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
- hosts: grafana
|
- hosts: grafana
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- grafana
|
- grafana
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
- hosts: graphite
|
- hosts: graphite
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- graphite
|
- graphite
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
- hosts: statsd
|
- hosts: statsd
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- epel
|
- {role: epel, when: ansible_distribution_major_version == '7'}
|
||||||
- statsd-install
|
- statsd-install
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user