jamesdmorgan / vagrant-ansible-docker-swarm Goto Github PK
View Code? Open in Web Editor NEWDocker 1.12 swarm cluster with Vagrant, Ansible & Docker
Docker 1.12 swarm cluster with Vagrant, Ansible & Docker
Hi, great project! thanks a lot.
I have a problem when trying to provision the machines
vagrant provision worker3 9:22
==> worker3: Running provisioner: shell (host_shell)...
[stdout] - downloading role 'secure-docker-daemon', owned by ansible
[stderr] [WARNING]: - ansible.secure-docker-daemon was NOT installed successfully: -
sorry, ansible.secure-docker-daemon was not found on
https://galaxy.ansible.com.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
==> worker3: Running provisioner: swarm (ansible)...
==> worker3: Vagrant has detected a host range pattern in the `groups` option.
==> worker3: Vagrant doesn't fully check the validity of these parameters!
==> worker3:
==> worker3: Please check https://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
==> worker3: for more information.
worker3: Running ansible-playbook...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --limit="all" --inventory-file=/Users/others/working/aa_working/ansible/vagrant-ansible-docker-swarm/.vagrant/provisioners/ansible/inventory -vv ansible/swarm.yml
No config file found; using defaults
ERROR! the role 'ansible.secure-docker-daemon' was not found in /Users/others/working/aa_working/ansible/vagrant-ansible-docker-swarm/ansible/roles:/Users/others/working/aa_working/ansible/vagrant-ansible-docker-swarm/ansible:/etc/ansible/roles
The error appears to have been in '/Users/others/working/aa_working/ansible/vagrant-ansible-docker-swarm/ansible/swarm.yml': line 17, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- role: ansible.secure-docker-daemon
^ here
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
it seems that secure-docker-daemon is not on galaxy anymore.
Could you push the secure-docker-daemon role that you have downloaded locally on github?
Otherwise, is there an easy way to make it work in unsecure mode?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.