Install docker and docker-compose
- python3
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
collections:
- name: community.general
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
BSD
Made by Volkula (https://github.com/Volkula) 2022