summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-12-10 16:56:01 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-12-10 16:56:01 -0500
commitfa1defdeed0431960643780af1f78fd5feba5ddc (patch)
tree308f2c2687ef707d22efd219a50cdeb39184799b /playbooks/common/openshift-node
parent5d375e519c4c8b6f37e083ed611247a02b0a8764 (diff)
parente81bf0e72dc12736b3ea69151123697b69b5240d (diff)
downloadopenshift-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-node')
-rw-r--r--playbooks/common/openshift-node/config.yml4
-rw-r--r--playbooks/common/openshift-node/service.yml2
2 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 952a9fd51..69ccb0cb8 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
@@ -191,7 +191,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"