Commit Graph

123 Commits

Author SHA1 Message Date
Julian Euler
c9e77fb0cf Revert "automatic architecture detection"
This reverts commit 32129135d7.
2022-01-26 17:34:10 +01:00
Julian Euler
bfba781af0 more robust compose version comparison 2022-01-26 17:27:53 +01:00
Julian Euler
32129135d7 automatic architecture detection 2022-01-26 17:27:31 +01:00
Kare Nuorteva
f6cd0ed3f8 style: fix ansible-lint nit about truthy value
yaml: truthy value should be one of [false, true] (truthy)
roles/geerlingguy.docker/tasks/docker-compose.yml:5

Fixes geerlingguy/ansible-role-docker#325
2022-01-13 19:20:24 +02:00
adamus1red
e60f04337d Add OS specific variable overrides.
Specifically Alpine official repo uses `docker` rather than `docker-ce` or `docker-ee`
2021-12-31 15:38:08 +00:00
Faustin Lammler
fcb1f461c0
Remove sudo dependency
The sudo dependency should not be needed because sudo escalation is
managed by Ansible.
2021-10-30 12:53:30 +02:00
fabricat
a0ce4704b8
run check task even in check mode 2021-10-14 14:48:04 +02:00
Jeff Geerling
7afdc965a1
Merge pull request #256 from Zempashi/issue-90
Ability to configure Docker daemon options
2021-07-16 17:27:47 -05:00
Julien Girardin
47a271e39a Do not touch docker.json if not option provided 2021-07-16 23:29:40 +02:00
Eric Engstrom
cc1171a9f7
Add check and ignore installation errors in --check mode
- addresses #280
2021-05-19 11:39:47 -05:00
Eric Engstrom
150a7ce135
ignore likely errors if in ansible_check_mode 2021-04-20 11:16:09 -05:00
Volker Thiel
d061f2fefa
Fixed typo in log message 2021-03-26 10:19:45 +01:00
toxinu
09df8f5688
Add gnupg for systems >= Ubuntu 20.04 2021-03-24 11:26:04 +09:00
toxinu
054e74268e
Do not install gnupg2 on Ubuntu 20.04 and superior 2021-03-23 15:53:43 +09:00
slicen
c2f737d5a2 Only fetch docker-compose if current version is not the desired version 2021-03-13 17:13:35 +11:00
slicen
a977b06b7b Adds option to configure docker-compose URL
Necessary for installing from a local mirror or in an offline environmment.
2021-03-12 23:44:42 +11:00
Jeff Geerling
6daa4c52e5 Fixes #239: Switch from 'Edge' to 'Nightly' option since Edge is not a thing now. 2020-12-27 00:20:26 -06:00
Jeff Geerling
bc3c942399 Fixes #243: Remove step that disables container-tools on CentOS 8. 2020-12-27 00:10:59 -06:00
Jeff Geerling
f6f6cf55fb PR #224: Style fixes. 2020-09-28 10:48:25 -05:00
andrei noga
e1a0358b6c no more changed state for a task 2020-08-21 11:32:45 +02:00
andrei noga
95fd1ef5d1 containerd install fix 2020-08-21 11:04:07 +02:00
Jeff Geerling
3e6ce873e7 Fix linting issues. 2020-08-20 12:37:17 -05:00
Steve Jennings
8adb2f5b27
Bump containerd version 2020-05-19 23:26:37 -04:00
Jeff Geerling
cd50bf980b PR #131 follow-up: spacing issue in YAML. 2020-03-06 10:00:50 -06:00
Felix Herzog
0e79e207db fix merge conflicts 2020-03-06 11:50:35 +01:00
Jeff Geerling
b6530bfb7d Fixes #188: Remove pipefail option from shell command on Debian. 2020-02-28 09:30:05 -06:00
Jeff Geerling
a19ed56128 Fix issue relating to gnupg2 missing. 2020-02-20 16:50:26 -06:00
Jeff Geerling
c59e9df561 Fixes #180: Remove systemd 18.09.0 compatibility shim. 2019-12-16 10:34:30 -06:00
Jeff Geerling
368226babd Attempt to manually install containerd on CentOS 8 for now. 2019-12-11 08:47:58 -06:00
Felix Herzog
6e18f1ba3f Merge remote-tracking branch 'upstream/master' 2019-10-28 14:43:54 +01:00
Jeff Geerling
f17b399521 PR #146: Check list length instead of casting to bool. 2019-08-23 12:36:34 -05:00
Dan Bohea
fa759bdc03 Fixes deprecation warnings about evaluating bare variables 2019-06-06 13:40:30 +01:00
Felix
860fede168
Merge branch 'master' into master 2019-04-15 09:40:46 +02:00
Jeff Geerling
5afc0f8ab4 Fixes ansible-lint failure on shell task without pipefail. 2019-03-21 07:11:14 -05:00
Felix Herzog
5a4045d5c1 added option to set docker gpg key 2019-03-19 19:33:20 +01:00
Jeff Geerling
fa1a56824e Fixes #97, Mentions #98, Still makes me sade: Fix Docker 18.09.0 startup issue. 2018-11-12 21:28:36 -06:00
Jeff Geerling
d8a4438b3c Fixes #97, Triggers #98, Makes me sad: Fix Docker 18.09.0 startup issue on systemd systems. 2018-11-12 21:14:20 -06:00
Jeff Geerling
d3afc01efc Fix broken Fedora 27 test, clean up uninstall task. 2018-10-22 23:32:38 -05:00
Ricky Kwan
0df75aea53
Capitalize 'docker' in the task name
Since most other instances are capitalized
2018-10-08 22:07:15 -04:00
Ricky Kwan
33afdbb0f8 Ability to configure Docker daemon options 2018-10-08 18:53:22 +00:00
Jeff Geerling
41f9315a49 Switch tests to use Molecule. 2018-09-26 22:13:32 -05:00
Jeff Geerling
5f89170809
Merge pull request #80 from gebn/issue-79
Remove docker_restart_on_package_change option to correct warning; fixes #79
2018-07-25 14:56:46 -05:00
George Brighton
470554872f
Remove docker_restart_on_package_change option to correct warning; fixes #79 2018-07-22 22:13:02 +01:00
George Brighton
148a5a4041
Fix deprecation warning when installing dependencies; fixes #77 2018-07-22 22:02:44 +01:00
Nick Jones
8034040c69
Update user's group membership, not primary group 2018-05-23 17:06:09 +01:00
Jeff Geerling
abd8e3625e Fixes #42: Allow control over docker_service state. 2018-05-18 16:58:50 -05:00
coaxial
9f9ad7ee92
Fix deprecation warning 2018-05-11 09:11:11 -04:00
Jeff Geerling
1a05e3ae72 PR #26 follow-up: Docs tidy. 2018-05-06 17:47:34 -05:00
Jeff Geerling
db8265990b
Merge pull request #26 from jamesla/master
Add a docker_users variable
2018-05-06 17:45:53 -05:00
Jeff Geerling
99014dd490
Merge pull request #50 from wedi/dont_ignore_key_error
Make ignoring repository key error optional
2018-05-01 21:27:24 -05:00
Jeff Geerling
07e05ef00f Fixes #21: DOCKER iptables chain problem when used with geerlingguy.firewall. 2018-05-01 21:18:30 -05:00
Jeff Geerling
9cf251de02
Merge pull request #37 from pad92/patch-1
'include' for tasks has been deprecated
2018-05-01 19:12:34 -05:00
Dirk Weise
250660e149 Make ignoring repository key error optional
Just ignoring an error regarding the Docker GPG key and downloading it
from "some" web page is not desired in any environment.

Change-Id: I2d59e9bf070a4262ff5d251a65b698c858345eb7
2018-02-22 10:55:56 +01:00
Pascal Armand
f3076bad55
'include' for tasks has been deprecated
The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
2017-11-27 16:40:27 +01:00
James McCallum
622dc1dac7 Update documentation 2017-10-18 20:01:02 +11:00
James McCallum
4f1a0f3d91 Change include_task to depreciated include due to what looks like incompatibility with test harness 2017-09-26 05:14:53 +10:00
James McCallum
e68f0cbd16 Fix docker group to append group rather than set it 2017-09-26 05:09:58 +10:00
Gilad Peleg
309ab2caee Fix typo 2017-09-19 11:19:58 +03:00
James McCallum
8c63471573 include docker-users to main 2017-09-03 19:38:50 +10:00
James McCallum
2bf1b29d3f Add user to docker group functionality 2017-09-03 19:21:17 +10:00
Thibaud Leprêtre
df3fb0a528
Add var to customize docker pkg state
By default var will be `present` to do not break legacy.

Fixes #14
2017-07-20 09:04:08 +02:00
Jeff Geerling
cb9e74677c Fix broken idempotence x2. 2017-06-29 09:41:20 -05:00
Jeff Geerling
9919962f55 Fix broken idempotence. 2017-06-29 07:37:37 -05:00
Jeff Geerling
6e9b3b5c9e Issue #7: Ensure curl is present on older systems without SNI. 2017-05-30 17:11:58 -05:00
Jeff Geerling
6506efd7cd PR #10: Slight adjustment to legacy apt key task. 2017-05-23 20:28:47 -04:00
Aleksandr Kostyrev
2f2c4ffdda Fix adding docker apt key on Ubuntu 14.04 2017-05-24 02:05:34 +03:00
Jeff Geerling
a220d54d4a Fixes #5: Switch to new Docker CE and EE repo layout. 2017-05-09 21:36:53 -05:00
Jeff Geerling
9180fbe7e5 Issue #2: Allow customization of the Docker Compose path. 2017-05-03 11:06:24 -05:00
Jeff Geerling
ab49c85d98 Issue #2: Only use variable if it's defined. 2017-05-03 10:59:50 -05:00
Jeff Geerling
d072a187e4 Fixes #2: Allow for Docker Compose version upgrades. 2017-05-03 10:51:04 -05:00
Jeff Geerling
cdb27879e7 Fixes #1: Add Docker Compose. 2017-02-25 08:48:30 -06:00
Jeff Geerling
5c864acf13 Get installation working on CentOS, add Debian 8 test. 2017-02-23 22:21:00 -06:00
Jeff Geerling
da3eb9cf1c Initial commit. 2017-02-23 22:08:18 -06:00