Commit Graph

77 Commits

Author SHA1 Message Date
Bajal
a9fe63f768
Needs additional check 2022-04-04 21:01:36 -04:00
Bajal
b48741f289
Update conditional for docker-compose check 2022-04-04 20:46:43 -04:00
Jeff Geerling
cef4b7892e Attempt to fix some Docker compose version comparison bugs. 2022-04-04 10:32:17 -05:00
Jeff Geerling
13c293fe8d
Merge pull request #336 from crate-workbench/amo/allow-downgrades
Allow package downgrading
2022-04-04 09:40:22 -05:00
Andreas Motl
5fe0726d52 Allow package downgrading
For the "package" task, add "allow_downgrade: true" to support this
scenario.

Because this option is only available starting with `ansible-core>=2.12`
for apt-based systems, we need conditional dispatching here.
2022-03-30 20:06:17 +02:00
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
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