mirror of https://github.com/ansible/ansible.git
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
parent
a0242b2173
commit
7724fb8f33
@ -1,10 +1,5 @@
|
|||||||
- name: delete temporary directory
|
- name: delete temporary directory
|
||||||
file:
|
include_tasks: default-cleanup.yml
|
||||||
path: "{{ remote_tmp_dir }}"
|
|
||||||
state: absent
|
|
||||||
no_log: yes
|
|
||||||
|
|
||||||
- name: delete temporary directory (windows)
|
- name: delete temporary directory (windows)
|
||||||
win_file:
|
include_tasks: windows-cleanup.yml
|
||||||
path: "{{ remote_tmp_dir }}"
|
|
||||||
state: absent
|
|
||||||
|
@ -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…
Reference in New Issue