Ansible role to install the docker container runtime on debian-based systems. https://ednz.fr
Go to file
2023-04-06 23:42:29 +02:00
defaults added install for docker-compose, supports 'latest' as a version 2023-04-06 23:42:29 +02:00
handlers skeleton 2023-04-04 21:15:48 +02:00
meta found a better way to install repo and packages using core roles 2023-04-05 22:37:40 +02:00
molecule/default found a better way to install repo and packages using core roles 2023-04-05 22:37:40 +02:00
tasks added install for docker-compose, supports 'latest' as a version 2023-04-06 23:42:29 +02:00
vars added install for docker-compose, supports 'latest' as a version 2023-04-06 23:42:29 +02:00
.ansible-lint skeleton 2023-04-04 21:15:48 +02:00
.gitignore skeleton 2023-04-04 21:15:48 +02:00
.yamllint skeleton 2023-04-04 21:15:48 +02:00
LICENSE skeleton 2023-04-04 21:15:48 +02:00
README.md skeleton 2023-04-04 21:15:48 +02:00

Install Docker

This repository is only a mirror. Development and testing is done on a private gitlab server.

This role install and configure docker on debian-based distributions.

Requirements

None.

Role Variables

Available variables are listed below, along with default values. A sample file for the default values is available in default/hashicorp_vault.yml.sample in case you need it for any group_vars or host_vars configuration.

hashi_vault_install: true # by default, set to true

This variable defines if the vault package is to be installed or not before configuring. If you install vault using another task, you can set this to false.

Dependencies

This role requires both ednxzu.manage_repositories and ednxzu.manage_apt_packages to install docker.

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:

# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
  roles:
    - ednxzu.install_docker

License

MIT / BSD

Author Information

This role was created by Bertrand Lanson in 2023.