1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add note to apt_key doc about update requirement (#25111)

* Add note about adding new key requiring update

When a new repo and new key are added, attempts to install packages
signed by that key fail until `apt-get update` is run.  This note
is an attempt to help users avoid getting errors when they miss
this step.

* related to issue #25091

* switch example to apt module
This commit is contained in:
Raúl Cuza 2018-08-16 14:18:17 -04:00 committed by Alicia Cozine
parent 29fa302ce9
commit c84e70cf10

View file

@ -26,6 +26,7 @@ notes:
- Doesn't download the key unless it really needs it.
- As a sanity check, downloaded key id must match the one specified.
- Best practice is to specify the key id and the URL.
- Adding a new key requires an apt cache update (e.g. using the apt module's update_cache option)
options:
id:
description: