mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Proper git commit of the new integration test
This commit is contained in:
@@ -21,7 +21,7 @@ VAULT_PASSWORD_FILE = vault-password
|
||||
|
||||
CONSUL_RUNNING := $(shell python consul_running.py)
|
||||
|
||||
all: parsing test_var_precedence unicode non_destructive destructive includes check_mode test_hash test_handlers test_group_by test_vault test_tags test_templating_settings
|
||||
all: parsing test_var_precedence unicode test_templating_settings non_destructive destructive includes check_mode test_hash test_handlers test_group_by test_vault test_tags
|
||||
|
||||
parsing:
|
||||
ansible-playbook bad_parsing.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -vvv $(TEST_FLAGS) --tags prepare,common,scenario1; [ $$? -eq 3 ]
|
||||
|
||||
16
test/integration/test_templating_settings.yml
Normal file
16
test/integration/test_templating_settings.yml
Normal 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 }}'
|
||||
|
||||
Reference in New Issue
Block a user