Moving creating of testing work dir out of dep role and into Makefile

This commit is contained in:
James Cammarata
2016-03-03 15:22:35 -05:00
parent c022a43a47
commit 80b10bd669
2 changed files with 64 additions and 60 deletions

View File

@@ -17,16 +17,15 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- name: clean out the test directory
file: name={{output_dir|mandatory}} state=absent
always_run: True
tags:
- prepare
when: clean_working_dir|default("yes")|bool
- name: create the test directory
file: name={{output_dir}} state=directory
always_run: True
tags:
- prepare
#- name: clean out the test directory
# file: name={{output_dir|mandatory}} state=absent
# always_run: True
# tags:
# - prepare
# when: clean_working_dir|default("yes")|bool
#
#- name: create the test directory
# file: name={{output_dir}} state=directory
# always_run: True
# tags:
# - prepare