Skip to content

maxdd/vagrant_ansible_docker_swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant_ansible_docker_swarm

  • Let's use Vagrant to spawn 2 VMs with docker as a service in a manager/worker swarm combination
  • Docker-API shall be secure via tls client/server certificates

How-to

To install Vagrand on Ubuntu

    sudo apt update 
    sudo apt install virtualbox
    curl -O https://releases.hashicorp.com/vagrant/2.2.10/vagrant_2.2.10_x86_64.deb
    sudo apt install ./vagrant_2.2.10_x86_64.deb
    vagrant --version
    vagrant plugin install vagrant-disksize
    sudo apt install ansible

To start Vagrand project (in the root of Vagrantfile)

    vagrant up

To start Ansible playbook

ansible-playbook playbook.yml -i hosts

TODO

  • Secure docker-api with tls certificates
  • Swarm setup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published