kolla-ansible/ansible/roles/baremetal
Mark Goddard 1b5353593c Fix bootstrap-servers on Ansible 2.6+
Recently as part of adding support for Docker CE we added the following
task to the baremetal role:

- name: Update yum cache
  yum:
    update_cache: yes
  become: True
  when: ansible_os_family == 'RedHat'

This works fine on Ansible 2.5, but no longer works on Ansible
2.6, which complains that either the 'name' or 'list' argument
is mandatory for the yum module.

This change updates the cache later on, when installing packages.

Change-Id: I1a158bda52c4e362cb12d361d7f961cfc699b385
Closes-Bug: #1819173
2019-03-08 14:36:08 +00:00
..
defaults Support Docker CE in bootstrap-servers 2018-12-17 14:04:43 +00:00
tasks Fix bootstrap-servers on Ansible 2.6+ 2019-03-08 14:36:08 +00:00
templates Support Docker CE in bootstrap-servers 2018-12-17 14:04:43 +00:00