Commit Graph

222 Commits

Author SHA1 Message Date
Benedikt Franke
eaeb448245 Make service management entirely optional
The provided advice of circumventing service management
did not work for me, usage still failed in WSL:

```
TASK [geerlingguy.docker : Ensure Docker is started and enabled at boot.] **********************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Service is in unknown state", "status": {}}
```

Thus, this adds the option `docker_service_managed`
that allows skipping any service management completely.
2022-06-24 10:29:14 +02:00
Jeff Geerling
f583d39a84
Merge pull request #359 from megabug/fix-gnupg-condition
Correct gnupg installation condition
2022-06-17 10:24:50 -05: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
Jeff Geerling
32fd595d07 Add role_name_check skipping to all molecule test suites. 2022-06-01 22:20:37 -05:00
Jeff Geerling
2bc23db51a
Merge pull request #352 from crate-workbench/amo/allow-downgrades-debian-redhat-only
Fix package downgrading for non-{RedHat,Debian} systems
2022-05-24 23:23:22 -05: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
Jeff Geerling
5b8e39b38e
Merge pull request #343 from Normo/342-fix-docker-compose-update
Fix docker-compose update
2022-04-12 14:10:05 -05: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
Jeff Geerling
9b819a6c51
Merge pull request #339 from bajalnyt/master
Update conditional for docker-compose check
2022-04-04 22:08:31 -05: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
48d5a077d5 Fixes #304: Default to v2.4.1 for Docker Compose. 2022-04-04 09:43:50 -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
Jeff Geerling
496a188cf8
Merge pull request #331 from Lithimlin/compose-version
Compose version
2022-04-04 09:39:37 -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
JL Euler
17c4349b7f
Merge branch 'geerlingguy:master' into compose-version 2022-01-26 17:40:17 +01: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
Jeff Geerling
17633d6cb1
Merge pull request #319 from OrBin/master
Extracted `docker_compose_arch` variable from `docker_compose_url`
2022-01-16 23:01:40 -06:00
Or Bin
ffb34275d2
Added docker_compose_arch to README 2022-01-15 14:48:38 +02:00
Or Bin
138aa4bd9c Merge branch 'geerlingguy:master' into master 2022-01-15 14:47:33 +02:00
Jeff Geerling
e622cbda44
Merge pull request #326 from kare/style-fix-325
style: fix ansible-lint nit about truthy value
2022-01-13 12:32:03 -06: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
Jeff Geerling
eeef0c0082 Update release workflow for more consistency. 2021-12-27 11:34:54 -06:00
Jeff Geerling
aac88da1c6 Use rockylinux8 instead of centos8 for CI. 2021-12-27 11:30:15 -06:00
Or Bin
1bad0cbc18
Extracted docker_compose_arch variable from docker_compose_url 2021-12-24 00:33:43 +02:00
Jeff Geerling
e8c2b9ffbe
Merge pull request #311 from fauust/fix-sudo-dep
Remove sudo dependency
2021-10-31 00:03:43 -05: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
Jeff Geerling
010917b868
Merge pull request #306 from fabricat/patch-1
run check task even in check mode
2021-10-14 09:54:30 -05:00
fabricat
a0ce4704b8
run check task even in check mode 2021-10-14 14:48:04 +02:00
Jeff Geerling
e35fef8b69 Slight tweak to README. 2021-10-12 09:52:24 -05:00
Jeff Geerling
6cc5a75533
Merge pull request #305 from We-Manage/master
Add We Manage as sponsor and generic information on sponsoring geerlingguy on GitHub
2021-10-12 09:50:55 -05:00
Andreas Lehr
3fb640a8ba Add We Manage as sponsor and generic information on sponsoring geerlinguy on Github 2021-10-12 11:52:20 +02:00
Jeff Geerling
4f4c332aa1 PR #295: Additional docs fixes for docker_repo_url. 2021-08-27 15:51:15 -05:00
Jeff Geerling
444435f7a1
Merge pull request #295 from sakthimaan/patch-1
moved docker repo url to separate section
2021-08-27 15:49:04 -05:00
shakthimaan
5b55f89751
moved docker repo url to separate section
moved docker repo url to separate section because this url is common for both debian and redhat family.
2021-08-26 20:39:48 +05:30
Jeff Geerling
4d488469c6 Make sure bugs aren't automatically closed. 2021-08-23 08:53:05 -05:00
Jeff Geerling
6aacc01ecb
Merge pull request #292 from staticdev/feature/add-debian-11
Add Debian 11
2021-08-18 10:40:13 -05:00
staticdev
b377445abd Add Debian 11 2021-08-17 10:30:02 +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
Jeff Geerling
e0fc26eb36
Merge pull request #281 from eengstrom/additional-check-mode-error-ignores
Add check and ignore installation errors in `--check` mode
2021-05-19 12:38:11 -05:00
Eric Engstrom
cc1171a9f7
Add check and ignore installation errors in --check mode
- addresses #280
2021-05-19 11:39:47 -05:00
Jeff Geerling
d9361630a9
Merge pull request #278 from fourstepper/patch-2
Update ci.yml
2021-05-16 15:07:25 -05:00
Robin Opletal
67ad58097c
Update ci.yml
Fedora 34 is out - let's use that for testing from now on
2021-05-16 11:31:51 +02:00