Avoid adding centos repos on non-centos distros
# liberasurecode-devel
- name: Add centos-release-openstack-pike support
become: yes
+ when: ansible_distribution == "CentOS"
yum:
name: centos-release-openstack-pike
state: present
