I am using the following from github to understand how docker swarm works via ansible https://github.com/patocox/ansible-swarm-do
I followed the steps in README.md I also changed my hosts file after finding several possible solutions on github:
[admin]
IP_ADDRESS ansible_ssh_pass=vagrant ansible_ssh_user=vagrant
[admin:vars]
ansible_password=vagrant
IP_ADDRESS is of the droplet I created on digitalocean. I continue to get this error:
UNREACHABLE! => {"changed": false, "msg": "Authentication failed.", "unreachable": true}
I am executing the command as given in README.md with appropriate API access token.