summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/file/tasks/initialize.yml
blob: dd7d1274865df9280f8a58c9dccf800bec34064c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# 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}}