summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-06-14 09:33:18 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-06-15 12:35:43 +0200
commitc12c972e8c1180cebf24ddd0eb43b26657fdaec6 (patch)
tree2752eb08d78690e7da2985a43280d71ec756d81b
parentb884e6a9c77ae2d86b2de3c4ae6e8de558444610 (diff)
downloadopenshift-c12c972e8c1180cebf24ddd0eb43b26657fdaec6.tar.gz
openshift-c12c972e8c1180cebf24ddd0eb43b26657fdaec6.tar.bz2
openshift-c12c972e8c1180cebf24ddd0eb43b26657fdaec6.tar.xz
openshift-c12c972e8c1180cebf24ddd0eb43b26657fdaec6.zip
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>
-rw-r--r--playbooks/provisioning/openstack/provision-openstack.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/provision-openstack.yml b/playbooks/provisioning/openstack/provision-openstack.yml
index 0505f1bda..c7ad782c9 100644
--- a/playbooks/provisioning/openstack/provision-openstack.yml
+++ b/playbooks/provisioning/openstack/provision-openstack.yml
@@ -1,5 +1,6 @@
---
- hosts: localhost
+ gather_facts: True
pre_tasks:
- include: pre_tasks.yml
roles: