diff --git a/lib/ansible/modules/notification/slack.py b/lib/ansible/modules/notification/slack.py index 10167ff3a72..9c7c2f160c0 100644 --- a/lib/ansible/modules/notification/slack.py +++ b/lib/ansible/modules/notification/slack.py @@ -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