diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2017-06-21 15:22:09 +0200 |
---|---|---|
committer | Ryan Cook <rcook@redhat.com> | 2017-06-21 09:22:09 -0400 |
commit | 0908b25d45b9a5297ed341f136f8d42e59438553 (patch) | |
tree | c3b5b93f4b53cfd224614638fb057e2be1a27775 /playbooks/provisioning/openstack/provision-openstack.yml | |
parent | 6457152be04098c7f765b322447006bdb052509f (diff) | |
download | openshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.gz openshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.bz2 openshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.xz openshift-0908b25d45b9a5297ed341f136f8d42e59438553.zip |
Use cached facts, do not become for localhost (#484)
Prohibit sudoing for localhost played tasks, like DNS setup.
Re-use cached facts to speed up deployment.
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'playbooks/provisioning/openstack/provision-openstack.yml')
-rw-r--r-- | playbooks/provisioning/openstack/provision-openstack.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/provisioning/openstack/provision-openstack.yml b/playbooks/provisioning/openstack/provision-openstack.yml index c7ad782c9..a2cf7b110 100644 --- a/playbooks/provisioning/openstack/provision-openstack.yml +++ b/playbooks/provisioning/openstack/provision-openstack.yml @@ -1,6 +1,7 @@ --- - hosts: localhost gather_facts: True + become: False pre_tasks: - include: pre_tasks.yml roles: @@ -31,12 +32,13 @@ - name: Refresh Server inventory hosts: localhost connection: local + become: False gather_facts: False tasks: - meta: refresh_inventory - hosts: cluster_hosts - gather_facts: false + gather_facts: True tasks: - name: Debug hostvar debug: |