Commit graph

34 commits

Author SHA1 Message Date
Patrick Marchand 0413f93852 Fix problems with docker-host daemon.json config
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Docker is very strict with it's json format and doesnt
seem to allow any surprise new lines or extra commas
after the last option before the closing }.

Since this is a dynamically constructed file, we dont know
what the last option will be. By putting the commas at the
start of the line and removing all newspace, we remove
the problem, at the expense of a less readable jinja
template.
2023-01-10 15:16:30 -05:00
Patrick Marchand 08db5a5140 Fix problems with docker-host daemon.json config
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-10 11:26:57 -05:00
David Prevot dbef71d791 Drop trailing whitespaces
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-06 09:54:51 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Jérémy Lecour 8eae5bba63 Use systemd module instead of command 2022-12-28 09:02:17 +01:00
David Prevot a1bad43b25 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
Jérémy Lecour 4156142c85 docker: no need to specify the architecture
We use only adm64 servers (for now)
2022-11-27 18:07:30 +01:00
Jérémy Lecour 28540247f0 Add signed-by option for additional APT sources
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 23:17:08 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
Ludovic Poujol 134355d190 docker: Allow live-restore to be toggled with docker_conf_live_restore
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 16:22:49 +02:00
Ludovic Poujol 9973a62c16 docker : Introduce new variables to tweak daemon settings
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-10 19:04:58 +02:00
Ludovic Poujol 6aa7b89b78 docker : Introduce new default settings + allow to change the docker data directory
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-10 18:21:59 +02:00
Ludovic Poujol 7762ae64b3 docker: Remove (broken?) systemd override 2022-05-10 17:40:27 +02:00
Ludovic Poujol 1b4d4c98fe docker : Removed Debian Jessie support 2022-05-10 17:39:45 +02:00
Jérémy Lecour b293cf2cf9 Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
Jérémy Lecour 5cbfda8f52 docker-host: install additional dependencies 2021-09-30 12:09:11 +02:00
Jérémy Lecour 9c8dd743c8 Use python3 packages on Debian 11 and later 2021-07-02 21:16:15 +02:00
Jérémy Lecour 454d4c6d30 explicit permissions for APT GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 9cdddd50a8 Move all trusted GPG keys to file repository
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-03 14:23:13 +02:00
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Romain Dessort a82de720a9 Clean override of docker systemd unit
This hack is still unfortunately needed in stretch…
2017-09-29 09:31:52 -04:00
Romain Dessort 203def3b64 Don't upgrade docker packages if already installed 2017-09-29 09:31:45 -04:00
Romain Dessort 3409f87125 New variable for docker home
It is set to /srv/docker by default since shellpki requires exec option
on the partition, making the playbook failed otherwise.
2017-09-29 09:27:35 -04:00
Gregory Colpart 8e0aa59e47 download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
Jérémy Lecour e02e116002 docker-host: fix a bad path 2017-08-09 01:18:20 -04:00
Jérémy Lecour 6bf818b52d fix: path is 2.3+ only 2017-08-04 09:58:57 -04:00
Jérémy Lecour 2fc65d1b8b docker-host: use apt preferences and apt role
* the "apt" role can deal with backports lists install
* we'd rather use a preferences file for specific packages
  than simply installing jessie-backports
2017-07-27 18:15:18 -04:00
Gabriel Périard-Tremblay 2118bfae8c Update docker-host role 2017-07-24 16:38:08 -04:00
Jérémy Lecour e2f5f91b08 docket-host: quote variables 2017-04-06 11:33:56 +02:00
Jérémy Lecour fdcc465172 Import docker-host 2017-03-30 15:13:45 +02:00