Installs docker or a docker swarm cluster https://www.docker.com
Go to file
Andrea Dell'Amico 32e997f1f7
Compatibility with ansible 7
2023-05-20 15:18:54 +02:00
defaults Prune the dangling images daily. 2022-05-21 19:45:46 +02:00
files Prune the dangling images daily. 2022-05-21 19:45:46 +02:00
handlers Import the old docker role. 2020-08-11 20:01:36 +02:00
meta Use the python3 docker support instead of python2 2020-10-15 13:37:45 +02:00
tasks Compatibility with ansible 7 2023-05-20 15:18:54 +02:00
templates Variable of the prometheus metrics port. 2022-02-04 18:53:06 +01:00
tests Initial commit 2020-08-06 16:45:47 +02:00
vars Add a task that removes packages from the old distribution method. See https://docs.docker.com/engine/install/ubuntu/ 2020-10-15 13:47:03 +02:00
.gitignore Initial commit 2020-08-06 16:45:47 +02:00
LICENSE Initial commit 2020-08-06 16:45:47 +02:00
README.md Import the old docker role. 2020-08-11 20:01:36 +02:00

README.md

Role Name

A role that installs and configures Docker and eventually Docker Swarm, https://docker.com

Role Variables

The most important variables are listed below:

docker_swarm: False
docker_swarm_manager: False
docker_swarm_manager_availability: 'drain'
docker_swarm_node: False
docker_swarm_node_availability: 'active'
docker_swarm_allowed_hosts:
  - '0.0.0.0/0'

# Set this to one of the manager hostnames to be able to initialize the cluster
docker_swarm_manager_main_node_hostname: localhost
# Set this on one of the masters
docker_swarm_manager_main_node: False
docker_run_as_docker_user: True
docker_user_home: /home/docker
docker_defaults_file: /etc/default/docker
docker_enable_tcp_socket: False
docker_tcp_socket_port: 2375
docker_api_port: 2376
docker_tcp_socket_host: 127.0.0.1
docker_log_to_journal: True

Dependencies

None

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it