Hi,
I am trying to setup slack with through ansible but I am getting below error as,
Playbook:
- name: Send notification message via Slack
slack:
token: "MYToken/../../ Format"
msg: '{{ inventory_hostname }} completed'
delegate_to: localhost
Error:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to connect to [hooks.slack.com](http://hooks.slack.com/) at port 443: [Errno 8] nodename nor servname provided, or not known", "status": -1, "url": "[https://hooks.slack.com/services/********](https://hooks.slack.com/services/********)"}
As I am assuming that above error is due to proxy https/http so kindly assist on the same to resolve my issue.
Mukul