diff --git a/tasks/openstack_host_install_yum.yml b/tasks/openstack_host_install_yum.yml index baf93fe5..50c5f44f 100644 --- a/tasks/openstack_host_install_yum.yml +++ b/tasks/openstack_host_install_yum.yml @@ -13,6 +13,16 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Disable yum fastestmirror plugin + lineinfile: + dest: /etc/yum/pluginconf.d/fastestmirror.conf + regexp: '^enabled=' + line: 'enabled=0' + state: present + tags: + - openstack-yum-packages + - openstack-packages + - name: Ensure epel-release is installed prior to installing host packages yum: pkg: epel-release