Skip to content

Install Docker, Docker Compose and completions with Ansible.

License

Notifications You must be signed in to change notification settings

jameswilliams1/ansible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-docker

Install Docker, Docker Compose and completions with Ansible.

Requirements

  • Python

Note: May require additional apt packages on systems older than those tested (Ubuntu bionic/Debian buster).

Role Variables

compose_version: 1.24.1 version number of docker-compose to install
compose_install_directory: /usr/local/bin/docker-compose install directory for docker-compose
docker_users: list of users to add to "docker" group (defaults to ansible ssh user)

Dependencies

None

Example Playbook

- hosts: all
  vars:
    compose_version: 1.24.1
    compose_install_directory: /non/standard/path
    docker_users:
      - ubuntu
      - vagrant
  roles:
     - docker

License

Apache 2.0

Author Information

James Williams
https://github.com/jameswilliams1

About

Install Docker, Docker Compose and completions with Ansible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages