Below is the playbook which is used to send the messages to the registered
numbers using nexmo. Please suggests what needs to be done to overcome this
error - No which i used are registered one and same with the api inputs.
---
- hosts: localhost
tasks:
- name: Send notification message via Nexmo
nexmo:
api_key: 640c8a53
api_secret: 0ce239a6
src: 8793161930
dest:
- 919168694888
msg: 'Hello from Ansible'
validate_certs: no
delegate_to: localhost
Below is the playbook error -
TASK [Send notification message via Nexmo]
************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": false,
"failed":true, "msg": "One or messages failed to send", "responses":
{"919168694888": {"failed": true}}}
to retry, use: --limit @/home/capio/ansible/playbooks/sms.retry
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d0cbe774-b780-42fd-ac86-4c95bacca159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.