Avoid adding centos repos on non-centos distros

Change-Id: I08b94d388c8d62fb3190cff02468323f3bb0026d
This commit is contained in:
Dirk Mueller 2017-11-24 23:41:48 +01:00
parent edfaa64f5b
commit 0360aea196

View File

@ -35,6 +35,7 @@
# liberasurecode-devel
- name: Add centos-release-openstack-pike support
become: yes
when: ansible_distribution == "CentOS"
yum:
name: centos-release-openstack-pike
state: present