JIRA: COMPASS-609
Force ansible cache refreshed in setup infrastructure
to avoid ceph install failure.
Change-Id: If54eacb5480e829e4920097ef6ea7939443f124d
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
patch -p0 < lxc_cache_prestage.patch
args:
chdir: /etc/ansible/roles/lxc_hosts/tasks/
+
+- name: add cache refresh
+ blockinfile:
+ dest: /opt/openstack-ansible/playbooks/setup-infrastructure.yml
+ insertbefore: '^- include: unbound-install.yml'
+ block: |
+ - hosts: all
+ user: root
+ tasks:
+ - name: refresh
+ setup: