Split handler tasks for setup_remote_tmp_dir.

This allows a platform handler to run even when the module required for the other platform is not present.
pull/67244/head
Matt Clay 5 years ago
parent a0242b2173
commit 7724fb8f33

@ -1,10 +1,5 @@
- name: delete temporary directory
file:
path: "{{ remote_tmp_dir }}"
state: absent
no_log: yes
include_tasks: default-cleanup.yml
- name: delete temporary directory (windows)
win_file:
path: "{{ remote_tmp_dir }}"
state: absent
include_tasks: windows-cleanup.yml

@ -0,0 +1,5 @@
- name: delete temporary directory
file:
path: "{{ remote_tmp_dir }}"
state: absent
no_log: yes

@ -0,0 +1,4 @@
- name: delete temporary directory (windows)
win_file:
path: "{{ remote_tmp_dir }}"
state: absent
Loading…
Cancel
Save