diff --git a/roles/ceph-mon/tasks/docker/pre_requisite.yml b/roles/ceph-mon/tasks/docker/pre_requisite.yml index 9c27ee8cc..f4f29b6f5 100644 --- a/roles/ceph-mon/tasks/docker/pre_requisite.yml +++ b/roles/ceph-mon/tasks/docker/pre_requisite.yml @@ -33,6 +33,18 @@ tags: with_pkg +# ensure extras enabled for docker +- name: enable extras on centos + yum_repository: + name: extras + state: present + enabled: yes + when: + - ansible_os_family == 'RedHat' + - ansible_distribution == 'CentOS' + tags: + with_pkg + - name: install pip on redhat yum: name: "{{ item }}"