mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
356 B
YAML
16 lines
356 B
YAML
7 years ago
|
#
|
||
|
# Cleanup the output dir and recreate it for the tests to operate on
|
||
|
#
|
||
|
- name: Cleanup the output directory
|
||
|
file:
|
||
|
dest: '{{ output_dir }}'
|
||
|
state: 'absent'
|
||
|
|
||
|
- name: Recreate the toplevel output dir
|
||
|
file:
|
||
|
dest: '{{ output_dir }}'
|
||
|
state: 'directory'
|
||
|
|
||
|
- name: prep with a basic file to operate on
|
||
|
copy: src=foo.txt dest={{output_file}}
|