Closed paul42 closed 3 years ago
Hi Paul,
You need to install requirements locally, like:
$ pip install -r /roles/ansible-docker-swarm/requirements.txt
Collecting jmespath==0.9.3
Downloading jmespath-0.9.3-py2.py3-none-any.whl (23 kB)
Installing collected packages: jmespath
Successfully installed jmespath-0.9.3
Enjoy!
Thanks, sorry for the slow response on my end
Hey, first of all, thanks for making this great role! I've got it mostly working but my playbook gets to the verify last step:
I've tried the following:
pip install -r requirements.txt
after copying your requirements.txt over on my workstation (where I'm launching playbooks from), running straightpip install jmespath==0.9.3
and having it run on the hosts before the dockerswarm role
I apologize I'm very new to ansible/python, is there something I'm doing wrong? something I should be launching?
dev.yaml (inventory)
docker-swarm.yml (playbook)
and cli that I'm launching as:
I'm able to ssh into the host and can see the other nodes by doing a
sudo docker node ls
so thanks for making an awesome role :D would just love to figure out what I'm doing wrong on this last step.Thanks again, Paul