瀏覽代碼

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 8 年之前
父節點
當前提交
c12c972e8c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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: