Last active
June 3, 2019 15:25
-
-
Save tonyskapunk/731da1c2be33ebda307153cdcda982f6 to your computer and use it in GitHub Desktop.
Ansible slack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Test slack | |
hosts: all | |
gather_facts: yes | |
tasks: | |
- name: Message to slack | |
slack: | |
channel: "{{ slack_channel }}" | |
token: "{{ slack_token }}" | |
msg: "App deployment started for commit <https://github.com|1ehe2e38> to production" | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment