mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user