Initial ansible-test implementation. (#18556)

This commit is contained in:
Matt Clay 2016-11-29 21:21:53 -08:00 committed by GitHub
commit 6bbd92e422
191 changed files with 5483 additions and 48 deletions

View file

@ -16,6 +16,10 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- name: define host-specific output_dir
set_fact:
output_dir: "{{ output_dir }}/{{ inventory_hostname }}"
- name: clean out the test directory
local_action: file name={{ output_dir|mandatory }} state=absent
run_once: true