We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8333c88 commit 0293f84Copy full SHA for 0293f84
tests/integration/targets/callback_yaml/tasks/main.yml
@@ -67,7 +67,7 @@
67
ANSIBLE_NOCOLOR: 'true'
68
ANSIBLE_FORCE_COLOR: 'false'
69
ANSIBLE_STDOUT_CALLBACK: community.general.yaml
70
- playbook: |
+ playbook: !unsafe |
71
- hosts: testhost
72
gather_facts: false
73
vars:
@@ -78,9 +78,7 @@
78
tasks:
79
- name: Test to_yaml
80
debug:
81
- msg: "{{ '{{' }}'{{ '{{' }}'{{ '}}' }} data | to_yaml {{ '{{' }}'{{ '}}' }}'{{ '}}' }}"
82
- # The above should be: msg: "{{ data | to_yaml }}"
83
- # Unfortunately, the way Ansible handles templating, we need to do some funny 'escaping' tricks...
+ msg: "{{ data | to_yaml }}"
84
expected_output: [
85
"",
86
"PLAY [testhost] ****************************************************************",
0 commit comments