mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Split integration tests out from Makefile. (#17976)
This commit is contained in:
parent
bf3d546d9a
commit
80a5c70ad7
169 changed files with 612 additions and 420 deletions
5
test/integration/targets/templating_settings/runme.sh
Executable file
5
test/integration/targets/templating_settings/runme.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
ansible-playbook test_templating_settings.yml -i ../../inventory -v "$@"
|
|
@ -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 }}'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue