diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-30 11:42:46 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-30 11:42:46 -0500 |
commit | e81bf0e72dc12736b3ea69151123697b69b5240d (patch) | |
tree | 910eec27b41951a2692327c02454bfa599d779ca /playbooks/common/openshift-node | |
parent | f790d7d49055b3eeb382fa4e90884f73162849cc (diff) | |
download | openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.gz openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.bz2 openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.tar.xz openshift-e81bf0e72dc12736b3ea69151123697b69b5240d.zip |
Enforce connection: local and become: no on all localhost plays
Diffstat (limited to 'playbooks/common/openshift-node')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 4 | ||||
-rw-r--r-- | playbooks/common/openshift-node/service.yml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 2b6171cb3..f2a1176dc 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -58,7 +58,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 @@ -189,7 +189,7 @@ - name: Delete temporary directory on localhost hosts: localhost connection: local - sudo: false + become: no gather_facts: no tasks: - file: name={{ mktemp.stdout }} state=absent diff --git a/playbooks/common/openshift-node/service.yml b/playbooks/common/openshift-node/service.yml index 5cf83e186..0f07add2a 100644 --- a/playbooks/common/openshift-node/service.yml +++ b/playbooks/common/openshift-node/service.yml @@ -1,6 +1,8 @@ --- - name: Populate g_service_nodes 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" |