docker_compose
Ansible role for docker-compose
This role will install docker-compose on compatible platforms.
Supported systems
- Ubuntu
- 18.04
- 20.04
- 20.10
- 21.04
- Debian
- 9 (stretch)
- 10 (buster)
- 11 (bullseye)
- CentOS
- 7
- 8
- Fedora
- 33
- 34
Requirements
If docker_compose_enable_bash_completion
is set to true
, role will install bash-completion
package.
Role variables
Role doesn't require any custom variables.
Dependencies
There are no dependencies on other roles.
Example playbook
Just add to you playbook, to install it on localhost
:
- hosts: localhost
connection: local
gather_facts: true
become: yes
tasks:
- name: Install docker_compose
include_role:
name: tgagor.docker_compose
License
See LICENSE
About
Installs Docker Compose in specific version, with optional bash-completion
Install
ansible-galaxy install tgagor/ansible-role-docker-compose
License
gpl-3.0
Downloads
25
Owner