Files
ansible/test/integration/targets/file/tasks/initialize.yml
Matt Martz cad200406a group2 - switch to setup_remote_tmp_dir instead of using output_dir (#76853)
* group2 - switch to setup_remote_tmp_dir instead of using output_dir

* output_file needs to be in the tmp dir

* Use comparison that should work with macos

* remove unused dep
2022-01-26 08:31:19 -06:00

16 lines
374 B
YAML

#
# Cleanup the output dir and recreate it for the tests to operate on
#
- name: Cleanup the output directory
file:
dest: '{{ remote_tmp_dir_test }}'
state: 'absent'
- name: Recreate the toplevel output dir
file:
dest: '{{ remote_tmp_dir_test }}'
state: 'directory'
- name: prep with a basic file to operate on
copy: src=foo.txt dest={{output_file}}