summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-08-08 17:30:51 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-08-08 17:30:51 -0400
commitc8e62caed1c4062ebce87826622c6811d7b6e940 (patch)
tree5ad7f796af178be5cffdc9ea4e29420ad058f02c
parent9ff1c623e99de8f65ebd8b1915f16dbe76477edb (diff)
downloadopenshift-c8e62caed1c4062ebce87826622c6811d7b6e940.tar.gz
openshift-c8e62caed1c4062ebce87826622c6811d7b6e940.tar.bz2
openshift-c8e62caed1c4062ebce87826622c6811d7b6e940.tar.xz
openshift-c8e62caed1c4062ebce87826622c6811d7b6e940.zip
Set become=no for etcd server certificates temporary directory.
-rw-r--r--roles/etcd_server_certificates/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/etcd_server_certificates/tasks/main.yml b/roles/etcd_server_certificates/tasks/main.yml
index edcf51092..f11b51453 100644
--- a/roles/etcd_server_certificates/tasks/main.yml
+++ b/roles/etcd_server_certificates/tasks/main.yml
@@ -93,6 +93,7 @@
- name: Create local temp directory for syncing certs
local_action: command mktemp -d /tmp/etcd_certificates-XXXXXXX
+ become: no
register: g_etcd_server_mktemp
changed_when: False
when: etcd_server_certs_missing | bool
@@ -131,6 +132,7 @@
- name: Delete temporary directory
file: name={{ g_etcd_server_mktemp.stdout }} state=absent
+ become: no
changed_when: False
when: etcd_server_certs_missing | bool
delegate_to: localhost