Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 510 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 510 Bytes

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