ansible/test/integration/targets/setup_remote_tmp_dir/handlers/main.yml
Sam Doran be0cdc0ea2
deprecate _remote_checksum() and remove use in fetch (#74848)
* Remove use of _remote_checksum from fetch module
* Add deprecation message displayed during runtime
* Increase test coverage for fetch
* Add tests covering the use of stat from the fetch module

    This required creating an unpriveleged user account and connecting as that user remotely since
    it is not possible to create a file that the root user cannot stat.

* Use fact caching to persist remote tmp dir across playbook runs
* Add variables to setup_remote_tmp test role to allow caching of the remote temp dir fact
  and preventing removal of the remote_tmp_dir
2021-06-16 13:51:07 -04:00

7 lines
261 B
YAML

- name: delete temporary directory
include_tasks: default-cleanup.yml
when: not setup_remote_tmp_dir_skip_cleanup | bool
- name: delete temporary directory (windows)
include_tasks: windows-cleanup.yml
when: not setup_remote_tmp_dir_skip_cleanup | bool