Adding headers to test_service and adding tags to prepare_tests role tasks

This commit is contained in:
James Cammarata 2014-02-20 13:30:01 -05:00
parent 1b4ba5431b
commit 590be8ac7d
2 changed files with 22 additions and 1 deletions

View file

@ -19,8 +19,11 @@
- name: clean out the test directory
file: name={{output_dir|mandatory}} state=absent
tags:
- prepare
- name: create the test directory
file: name={{output_dir}} state=directory
tags:
- prepare

View file

@ -1,2 +1,20 @@
# test code for the service module
# (c) 2014, James Cammarata <jcammarata@ansible.com>
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
dependencies:
- prepare_tests