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-etcd | |
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-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" |