diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-01-10 08:10:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 08:10:41 -0500 |
commit | 19ae452d558d7f04f49d024bf82fcb7221c8fa0d (patch) | |
tree | 6a06bfb124ce15bc26cf97da60a8631e2d0b5069 /roles/openshift_master_certificates | |
parent | aa155550a651708fcb200746ad78fb0bbf562e94 (diff) | |
parent | 4b06eaf83e137ddeba2ce498e141ad87413761c0 (diff) | |
download | openshift-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 'roles/openshift_master_certificates')
-rw-r--r-- | roles/openshift_master_certificates/tasks/main.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/openshift_master_certificates/tasks/main.yml b/roles/openshift_master_certificates/tasks/main.yml index 00cabe574..649a4bc5d 100644 --- a/roles/openshift_master_certificates/tasks/main.yml +++ b/roles/openshift_master_certificates/tasks/main.yml @@ -120,7 +120,11 @@ register: g_master_certs_mktemp changed_when: False when: master_certs_missing | bool - become: no + +- name: Chmod local temp directory for syncing certs + local_action: command chmod 777 "{{ g_master_certs_mktemp.stdout }}" + changed_when: False + when: master_certs_missing | bool - name: Create a tarball of the master certs command: > @@ -157,7 +161,6 @@ local_action: file path="{{ g_master_certs_mktemp.stdout }}" state=absent changed_when: False when: master_certs_missing | bool - become: no - name: Lookup default group for ansible_ssh_user command: "/usr/bin/id -g {{ ansible_ssh_user | quote }}" |