diff options
Diffstat (limited to 'test/integration/targets/setup_remote_tmp_dir/tasks/default.yml')
-rw-r--r-- | test/integration/targets/setup_remote_tmp_dir/tasks/default.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/setup_remote_tmp_dir/tasks/default.yml b/test/integration/targets/setup_remote_tmp_dir/tasks/default.yml new file mode 100644 index 0000000..3be42ef --- /dev/null +++ b/test/integration/targets/setup_remote_tmp_dir/tasks/default.yml @@ -0,0 +1,12 @@ +- name: create temporary directory + tempfile: + state: directory + suffix: .test + register: remote_tmp_dir + notify: + - delete temporary directory + +- name: record temporary directory + set_fact: + remote_tmp_dir: "{{ remote_tmp_dir.path }}" + cacheable: "{{ setup_remote_tmp_dir_cache_path | bool }}" |