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-etcd | |
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-etcd')
-rw-r--r-- | playbooks/common/openshift-etcd/config.yml | 4 | ||||
-rw-r--r-- | playbooks/common/openshift-etcd/service.yml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml index 7d94ced2e..6dee196e3 100644 --- a/playbooks/common/openshift-etcd/config.yml +++ b/playbooks/common/openshift-etcd/config.yml @@ -33,7 +33,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 @@ -92,7 +92,7 @@ - name: Delete temporary directory on localhost hosts: localhost connection: local - sudo: false + become: no gather_facts: no tasks: - file: name={{ g_etcd_mktemp.stdout }} state=absent diff --git a/playbooks/common/openshift-etcd/service.yml b/playbooks/common/openshift-etcd/service.yml index 0bf69b22f..fd2bc24ae 100644 --- a/playbooks/common/openshift-etcd/service.yml +++ b/playbooks/common/openshift-etcd/service.yml @@ -1,6 +1,8 @@ --- - name: Populate g_service_masters host group if needed hosts: localhost + connection: local + become: no gather_facts: no tasks: - fail: msg="new_cluster_state is required to be injected in this playbook" |