summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_certificates
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-18 19:25:45 -0500
committerGitHub <noreply@github.com>2017-05-18 19:25:45 -0500
commitbe064f7be58d905874e8ebc34c8f270841b49887 (patch)
tree2463c869b16fb48a44b8789d7bf4ab07c9363a0e /roles/openshift_master_certificates
parentbefb34ac3ad6f20e602e0350401638af8a156a82 (diff)
parent1d1f6a1c6c21d1b6601ba46a233847c7da75d3c3 (diff)
downloadopenshift-be064f7be58d905874e8ebc34c8f270841b49887.tar.gz
openshift-be064f7be58d905874e8ebc34c8f270841b49887.tar.bz2
openshift-be064f7be58d905874e8ebc34c8f270841b49887.tar.xz
openshift-be064f7be58d905874e8ebc34c8f270841b49887.zip
Merge pull request #4208 from abutcher/local-action-delegate
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_master_certificates')
-rw-r--r--roles/openshift_master_certificates/tasks/main.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_master_certificates/tasks/main.yml b/roles/openshift_master_certificates/tasks/main.yml
index 2617efaf1..9706da24b 100644
--- a/roles/openshift_master_certificates/tasks/main.yml
+++ b/roles/openshift_master_certificates/tasks/main.yml
@@ -124,7 +124,6 @@
register: g_master_certs_mktemp
changed_when: False
when: master_certs_missing | bool
- delegate_to: localhost
become: no
- name: Create a tarball of the master certs
@@ -158,10 +157,10 @@
dest: "{{ openshift_master_config_dir }}"
when: master_certs_missing | bool and inventory_hostname != openshift_ca_host
-- file: name={{ g_master_certs_mktemp.stdout }} state=absent
+- name: Delete local temp directory
+ local_action: file path="{{ g_master_certs_mktemp.stdout }}" state=absent
changed_when: False
when: master_certs_missing | bool
- delegate_to: localhost
become: no
- name: Lookup default group for ansible_ssh_user