|
|
@ -32,7 +32,7 @@ options:
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: none
|
|
|
|
default: none
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- identifier of key. Including this allows check mode to correctly report the changed state.
|
|
|
|
- identifier of key. Including this allows check mode to correctly report the changed state. Required when C(state) is set to C(absent).
|
|
|
|
- "If specifying a subkey's id be aware that apt-key does not understand how to remove keys via a subkey id. Specify the primary key's id instead."
|
|
|
|
- "If specifying a subkey's id be aware that apt-key does not understand how to remove keys via a subkey id. Specify the primary key's id instead."
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
@ -94,11 +94,6 @@ EXAMPLES = '''
|
|
|
|
url: "https://ftp-master.debian.org/keys/archive-key-6.0.asc"
|
|
|
|
url: "https://ftp-master.debian.org/keys/archive-key-6.0.asc"
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
|
|
|
|
|
|
|
|
# Remove an Apt signing key, uses whichever key is at the URL
|
|
|
|
|
|
|
|
- apt_key:
|
|
|
|
|
|
|
|
url: "https://ftp-master.debian.org/keys/archive-key-6.0.asc"
|
|
|
|
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove a Apt specific signing key, leading 0x is valid
|
|
|
|
# Remove a Apt specific signing key, leading 0x is valid
|
|
|
|
- apt_key:
|
|
|
|
- apt_key:
|
|
|
|
id: 0x473041FA
|
|
|
|
id: 0x473041FA
|
|
|
|