Commit Graph

31 Commits

Author SHA1 Message Date
Andrea Dell'Amico cc991c4b83
Add the installation of cadvisor. 2023-05-29 13:38:35 +02:00
Andrea Dell'Amico 83d5c6c3d3
Fix a lint warning. 2023-05-26 19:59:49 +02:00
Andrea Dell'Amico c033608ec9
Support the installation of a specific version. 2023-05-26 19:59:26 +02:00
Andrea Dell'Amico 32e997f1f7
Compatibility with ansible 7 2023-05-20 15:18:54 +02:00
Andrea Dell'Amico 2eae7c68db
Prune the dangling images daily. 2022-05-21 19:45:46 +02:00
Andrea Dell'Amico 593d02c6e2
Code cleanup. 2022-05-21 19:22:06 +02:00
Andrea Dell'Amico b7557c74e2
Fix a typo. 2022-02-22 00:02:53 +01:00
Andrea Dell'Amico 95429a099f
Default advertise address 2022-02-21 23:57:43 +01:00
Andrea Dell'Amico eb902af919
Variable of the prometheus metrics port. 2022-02-04 18:53:06 +01:00
Andrea Dell'Amico ad90d2f9af
_hostname -> _address. 2021-05-25 21:05:33 +02:00
Andrea Dell'Amico a55f12a350
'delegate_to' the IP address. Works when using private IPs. 2021-05-25 18:24:09 +02:00
Andrea Dell'Amico 76e076c03c Use docker_swarm_worker_hostname instead of ansible_hostname 2020-11-06 16:07:11 +01:00
Andrea Dell'Amico aebf4d44b5 Add the variable docker_swarm_worker_hostname. 2020-11-06 15:59:57 +01:00
Andrea Dell'Amico 320989d21f Use a shell command to manage the node labels 2020-10-26 14:56:06 +01:00
Andrea Dell'Amico 698b4049a3 Fix a syntax error. 2020-10-26 14:44:55 +01:00
Andrea Dell'Amico 37924b5019 Try to fix the task that manages the labels 2020-10-23 17:31:00 +02:00
Andrea Dell'Amico ced31ea97b Do not enable tls if not in swarm mode. 2020-10-15 14:28:01 +02:00
Andrea Dell'Amico 77c4c59ff1 Fix the docker_swarm conditionals 2020-10-15 13:54:20 +02:00
Andrea Dell'Amico 1a61a27af9 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
Andrea Dell'Amico 64b0669e21 Use the python3 docker support instead of python2 2020-10-15 13:37:45 +02:00
Andrea Dell'Amico 3cc7565865 Comment some default values. 2020-10-02 19:33:54 +02:00
Andrea Dell'Amico 7fa4b21622 Docker stack requires jsondiff 2020-10-01 17:50:52 +02:00
Andrea Dell'Amico cea4a8a709 Add support for labels 2020-09-17 19:19:17 +02:00
Andrea Dell'Amico a5cf11698f Add the prometheus directives to the daemon configuration 2020-09-16 17:03:37 +02:00
Andrea Dell'Amico 5d69fd8af6 Optionally export the metrics to prometheus. 2020-09-16 16:57:09 +02:00
Andrea Dell'Amico 0c3ae6837c Preliminary support to have to run the API over TLS. 2020-09-10 18:00:37 +02:00
Andrea Dell'Amico bef809fbc4 Remove a wrong conditional. 2020-08-13 16:15:41 +02:00
Andrea Dell'Amico 2d61773b45 Add the docker_install missing variable. 2020-08-13 16:12:18 +02:00
Andrea Dell'Amico 5b4c34b29b Add the tag docker_conf. 2020-08-13 15:43:40 +02:00
Andrea Dell'Amico 0d6b1a81c9 Import the old docker role. 2020-08-11 20:01:36 +02:00
S2I2S @ ISTI-CNR e3f50a4e4a Initial commit 2020-08-06 16:45:47 +02:00