mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[Fix] Commented out Section due to no Quotes (#24258)
Variables are not being passed into ansible unless they are quoted since yaml will automatically interpret them as comments
This commit is contained in:
parent
b85970b2b0
commit
07d6daf787
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ EXAMPLES = """
|
|||
slack:
|
||||
token: thetoken/generatedby/slack
|
||||
msg: '{{ inventory_hostname }} completed'
|
||||
channel: #ansible
|
||||
channel: '#ansible'
|
||||
username: 'Ansible on {{ inventory_hostname }}'
|
||||
icon_url: http://www.example.com/some-image-file.png
|
||||
link_names: 0
|
||||
|
@ -132,7 +132,7 @@ EXAMPLES = """
|
|||
token: thetoken/generatedby/slack
|
||||
attachments:
|
||||
- text: Display my system load on host A and B
|
||||
color: #ff00dd
|
||||
color: '#ff00dd'
|
||||
title: System load
|
||||
fields:
|
||||
- title: System A
|
||||
|
|
Loading…
Reference in a new issue