Commit Graph

31 Commits

Author SHA1 Message Date
Aram Akhavan
fcbd3d7098
Merge branch 'master' into new_defaults 2023-09-27 14:41:20 -07:00
nevart
7c86fe1739 APT key: don't force and provide checksum, to fix check mode
As described in https://github.com/ansible/ansible/issues/65687, get_url
only partially supports check_mode: "the changed status will reflect
comparison to an empty source file".

Before this change, executing this code, with the key already being in
place on the target system, would report "OK", while check_mode would
report "changed".

Due to this change, both now either report "OK" or "changed", depending
on the state of the target system.
2023-06-26 07:34:10 +00:00
Aram Akhavan
d64f9afe19 add filename option to apt repository add 2023-02-21 22:35:04 -08:00
aurelien-bareille
0ad2ddd2c6 Include repository setup dependancies in flag scope 2022-12-14 18:25:29 +01:00
aurelien-bareille
8b623b2266 Add flag to deactivate repository configuration 2022-12-14 16:31:46 +01:00
Jeff Geerling
03d5bd6d06 Remove deprecated warn arg from command and shell module invocations. 2022-11-26 22:51:49 -06:00
Eric Miller
f463bb2c1a Download apt key directly
Fixes issue #372
2022-09-05 17:55:21 -05:00
Matthew Daley
5d35e0208c Correct gnupg installation condition 2022-06-18 00:08:48 +12: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
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
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
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
d3afc01efc Fix broken Fedora 27 test, clean up uninstall task. 2018-10-22 23:32:38 -05:00
Jeff Geerling
41f9315a49 Switch tests to use Molecule. 2018-09-26 22:13:32 -05:00
George Brighton
148a5a4041
Fix deprecation warning when installing dependencies; fixes #77 2018-07-22 22:02:44 +01:00
coaxial
9f9ad7ee92
Fix deprecation warning 2018-05-11 09:11:11 -04: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
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
Gilad Peleg
309ab2caee Fix typo 2017-09-19 11:19:58 +03: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
da3eb9cf1c Initial commit. 2017-02-23 22:08:18 -06:00