Split integration tests out from Makefile. (#17976)

This commit is contained in:
Matt Clay 2016-10-12 14:57:53 -07:00 committed by GitHub
commit 80a5c70ad7
169 changed files with 612 additions and 420 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eux
ansible-playbook test_templating_settings.yml -i ../../inventory -v "$@"

View file

@ -0,0 +1,16 @@
---
- name: 'Test templating in name'
hosts: localhost
connection: local
vars:
a_list:
- 'part'
- 'of a'
- 'name'
tasks:
# Note: this only tests that we do not traceback. It doesn't test that the
# name goes through templating correctly
- name: 'Task: {{ a_list | to_json }}'
debug: msg='{{ a_list | to_json }}'