Skip to content

socheatsok78-lab/ansible-role-docker-swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-docker-swarm

Ansible Role - Docker Swarm

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

docker_swarm_manager_group: 'docker_swarm_managers'
docker_swarm_worker_group: 'docker_swarm_workers'

Use with Ansible (and docker Python library)

Example:

- hosts: all

  vars:
    pip_install_packages:
      - name: docker
      - name: jsondiff

  roles:
    - socheatsok78-lab.pip
    - socheatsok78-lab.docker