diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-12-10 16:56:01 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-12-10 16:56:01 -0500 |
commit | fa1defdeed0431960643780af1f78fd5feba5ddc (patch) | |
tree | 308f2c2687ef707d22efd219a50cdeb39184799b /playbooks/common/openshift-master/config.yml | |
parent | 5d375e519c4c8b6f37e083ed611247a02b0a8764 (diff) | |
parent | e81bf0e72dc12736b3ea69151123697b69b5240d (diff) | |
download | openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.gz openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.bz2 openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.tar.xz openshift-fa1defdeed0431960643780af1f78fd5feba5ddc.zip |
Merge pull request #1000 from detiber/localhostFix
Enforce connection: local and become: no on all localhost plays
Diffstat (limited to 'playbooks/common/openshift-master/config.yml')
-rw-r--r-- | playbooks/common/openshift-master/config.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml index 3151bf113..dd638487a 100644 --- a/playbooks/common/openshift-master/config.yml +++ b/playbooks/common/openshift-master/config.yml @@ -70,7 +70,7 @@ - name: Create temp directory for syncing certs hosts: localhost connection: local - sudo: false + become: no gather_facts: no tasks: - name: Create local temp directory for syncing certs @@ -207,7 +207,7 @@ - name: Compute haproxy_backend_servers hosts: localhost connection: local - sudo: false + become: no gather_facts: no tasks: - set_fact: @@ -260,6 +260,8 @@ - name: Parse named certificates hosts: localhost + connection: local + become: no vars: internal_hostnames: "{{ hostvars[groups.oo_first_master.0].openshift.common.internal_hostnames }}" named_certificates: "{{ hostvars[groups.oo_first_master.0].openshift_master_named_certificates | default([]) }}" @@ -375,7 +377,7 @@ - name: Delete temporary directory on localhost hosts: localhost connection: local - sudo: false + become: no gather_facts: no tasks: - file: name={{ g_master_mktemp.stdout }} state=absent |