Skip to content

Ansible role to install docker and docker-compose

Notifications You must be signed in to change notification settings

Volkula/docker_bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

volkula.docker_bundle

Install docker and docker-compose

Requirements

  • python3

Role Variables

vars:
    install_by: curl - Install by curl get.docker.com
    install_by: pip  - Install by pip3
    install_by: repo - Install by Docker repo
    compose_version: - auto-detect version by github tag

Dependencies

collections:

  • name: community.general

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- name: DockerCompose
  hosts: docker
  become: true
  gather_facts: true
  vars:
    install_by: "pip"
  roles:
    - volkula.docker_bundle

License

BSD

Author Information

Made by Volkula (https://github.com/Volkula) 2022

About

Ansible role to install docker and docker-compose

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages