First off - i'm new to ansible. I've tried running ansible-playbook that set-up K8's and was able to make it work just fine.
I wanted to try SWARM and saw this playbook.
When I try to run the playbook:
ansible-playbook -i inventory playbook.yml
I'm getting the following error:
ERROR! the role 'ansible-dockerswarm' was not found in /home/master/Projects/ansible-dockerswarm/roles:/home/master/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/master/Projects/ansible-dockerswarm
The error appears to have been in '/home/master/Projects/ansible-dockerswarm/playbook.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
First off - i'm new to ansible. I've tried running ansible-playbook that set-up K8's and was able to make it work just fine. I wanted to try SWARM and saw this playbook.
When I try to run the playbook: ansible-playbook -i inventory playbook.yml I'm getting the following error:
Inventory file:
Ansible version: 2.6.4
Not sure how to use the roles (?). ive downloaded the role from Ansible galaxy. but still the same.
Maybe a newbie guide on how to use this?
Thank you!