Commit Graph

84 Commits

Author SHA1 Message Date
Aram Akhavan
028a764e83 add installation of docker plugin from repo 2022-07-05 19:39:39 -07:00
Matthew Daley
5d35e0208c Correct gnupg installation condition 2022-06-18 00:08:48 +12:00
Jeff Geerling
8453301f62
Merge pull request #356 from fgierlinger/fix/extra-ini-spaces
fix: remove extra spaces on enable option in ini files
2022-06-07 09:49:41 -05:00
fgierlinger
e42ed58e46
chore: change yes to true 2022-06-07 14:34:26 +02:00
fgierlinger
efebb627b9
fix: remove extra spaces on enable option in ini files 2022-06-07 14:30:22 +02:00
Andreas Motl
887eee43c7 Fix package downgrading for non-{RedHat,Debian} systems
Not all package install handlers implement the `allow_downgrade` option.
For example, using Ansible >= 2.12 on Arch Linux would croak like:

    Unsupported parameters for (ansible.legacy.pacman) module: allow_downgrade.
2022-05-24 23:29:09 +02:00
Norman Ziegner
c5f2b14d9a
Fix docker-compose update
Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
2022-04-12 15:53:25 +02:00
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