diff --git a/ansible/roles/kolla-ansible/tasks/install.yml b/ansible/roles/kolla-ansible/tasks/install.yml index ab190d272..190a9ae44 100644 --- a/ansible/roles/kolla-ansible/tasks/install.yml +++ b/ansible/roles/kolla-ansible/tasks/install.yml @@ -1,4 +1,10 @@ --- +- name: Ensure EPEL repo is installed + yum: + name: epel-release + state: installed + become: True + - name: Ensure required packages are installed yum: name: "{{ item }}" diff --git a/ansible/roles/kolla-bifrost/tasks/install.yml b/ansible/roles/kolla-bifrost/tasks/install.yml index e5cef1999..bcfd2aacd 100644 --- a/ansible/roles/kolla-bifrost/tasks/install.yml +++ b/ansible/roles/kolla-bifrost/tasks/install.yml @@ -1,4 +1,10 @@ --- +- name: Ensure EPEL repo is installed + yum: + name: epel-release + state: installed + become: True + - name: Ensure required packages are installed yum: name: "{{ item }}" diff --git a/ansible/roles/kolla/tasks/install.yml b/ansible/roles/kolla/tasks/install.yml index 0409ad6dd..71082dec6 100644 --- a/ansible/roles/kolla/tasks/install.yml +++ b/ansible/roles/kolla/tasks/install.yml @@ -1,5 +1,5 @@ --- -- name: Pull in EPEL Repo +- name: Ensure EPEL repo is installed yum: name: epel-release state: installed diff --git a/ansible/roles/openstackclient/tasks/main.yml b/ansible/roles/openstackclient/tasks/main.yml index 17f969d61..46812df8b 100644 --- a/ansible/roles/openstackclient/tasks/main.yml +++ b/ansible/roles/openstackclient/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Ensure EPEL repo is installed + yum: + name: epel-release + state: installed + become: True + - name: Ensure required packages are installed yum: name: "{{ item }}" diff --git a/ansible/roles/shade/tasks/main.yml b/ansible/roles/shade/tasks/main.yml index 2a3991fbb..51fa9b3c0 100644 --- a/ansible/roles/shade/tasks/main.yml +++ b/ansible/roles/shade/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Ensure EPEL repo is installed + yum: + name: epel-release + state: installed + become: True + - name: Ensure required packages are installed yum: name: "{{ item }}"