https://github.com/beacloudgenius/ansible-first-run ansibleexample
https://github.com/beacloudgenius/ansibleexample docker-ansible
https://github.com/beacloudgenius/docker-ansible docker swarm tutorial
https://docs.docker.com/engine/swarm/swarm-tutorial/
https://github.com/beacloudgenius/ansibleexample docker-ansible
https://github.com/beacloudgenius/docker-ansible dockerfiles - step-by-step
https://github.com/beacloudgenius/dockerfiles dockerfiles - docker-compose
https://github.com/beacloudgenius/dockerfiles
https://github.com/beacloudgenius/prep-swarm-using-ansible
After setting up the swarm, use examples from the swarm
folder in prep-swarm-using-ansible
repo
Try destroying containers and see the services recreate the dead ones. Try destroying the underlying workers and see the swarm relocate the services on the remaining nodes in the swarm. Also see the swarm grow after Ansible rerun when you add more workers (and/or managers) to the inventory file.