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