Jelajahi Sumber

Gather facts for provision playbook

Provision tasks use facts like ansible_hostname and few others.
W/o gathering facts, those expire, and the provision playbook cannot
be reapplied in order to update the existing heat stack.
Refresh the facts cache by specifying gather_facts: true.

Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Bogdan Dobrelya 7 tahun lalu
induk
melakukan
c12c972e8c
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      playbooks/provisioning/openstack/provision-openstack.yml

+ 1 - 0
playbooks/provisioning/openstack/provision-openstack.yml

@@ -1,5 +1,6 @@
 ---
 - hosts: localhost
+  gather_facts: True
   pre_tasks:
   - include: pre_tasks.yml
   roles: