summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-30 11:42:46 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-30 11:42:46 -0500
commite81bf0e72dc12736b3ea69151123697b69b5240d (patch)
tree910eec27b41951a2692327c02454bfa599d779ca /playbooks/common/openshift-etcd
parentf790d7d49055b3eeb382fa4e90884f73162849cc (diff)
downloadopenshift-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-etcd')
-rw-r--r--playbooks/common/openshift-etcd/config.yml4
-rw-r--r--playbooks/common/openshift-etcd/service.yml2
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"