summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/embedded2external.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-01-10 08:10:41 -0500
committerGitHub <noreply@github.com>2018-01-10 08:10:41 -0500
commit19ae452d558d7f04f49d024bf82fcb7221c8fa0d (patch)
tree6a06bfb124ce15bc26cf97da60a8631e2d0b5069 /playbooks/openshift-etcd/private/embedded2external.yml
parentaa155550a651708fcb200746ad78fb0bbf562e94 (diff)
parent4b06eaf83e137ddeba2ce498e141ad87413761c0 (diff)
downloadopenshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.gz
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.bz2
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.xz
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.zip
Merge pull request #6674 from mgugino-upstream-stage/remove-becomes2
Remove become statements
Diffstat (limited to 'playbooks/openshift-etcd/private/embedded2external.yml')
-rw-r--r--playbooks/openshift-etcd/private/embedded2external.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/openshift-etcd/private/embedded2external.yml b/playbooks/openshift-etcd/private/embedded2external.yml
index b71eaacd0..674bd5088 100644
--- a/playbooks/openshift-etcd/private/embedded2external.yml
+++ b/playbooks/openshift-etcd/private/embedded2external.yml
@@ -89,7 +89,10 @@
local_action: command mktemp -d /tmp/etcd_backup-XXXXXXX
register: g_etcd_client_mktemp
changed_when: False
- become: no
+
+ - name: Chmod local temp directory for syncing etcd backup
+ local_action: command chmod 777 "{{ g_etcd_client_mktemp.stdout }}"
+ changed_when: False
- import_role:
name: etcd
@@ -116,7 +119,6 @@
- name: Delete temporary directory
local_action: file path="{{ g_etcd_client_mktemp.stdout }}" state=absent
changed_when: False
- become: no
# 7. force new cluster from the backup
- name: Force new etcd cluster