summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/hrobot/plugins
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
commit18bd2207b6c1977e99a93673a7be099e23f0f547 (patch)
tree40fd9e5913462a88be6ba24be6953383c5b39874 /ansible_collections/community/hrobot/plugins
parentReleasing progress-linux version 10.0.1+dfsg-1~progress7.99u1. (diff)
downloadansible-18bd2207b6c1977e99a93673a7be099e23f0f547.tar.xz
ansible-18bd2207b6c1977e99a93673a7be099e23f0f547.zip
Merging upstream version 10.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/hrobot/plugins')
-rw-r--r--ansible_collections/community/hrobot/plugins/modules/boot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible_collections/community/hrobot/plugins/modules/boot.py b/ansible_collections/community/hrobot/plugins/modules/boot.py
index bcf6f3c47..1ba8f36e8 100644
--- a/ansible_collections/community/hrobot/plugins/modules/boot.py
+++ b/ansible_collections/community/hrobot/plugins/modules/boot.py
@@ -284,13 +284,13 @@ BOOT_CONFIGURATION_DATA = [
('rescue', 'rescue', {
'os': ('os', 'os'),
'arch': ('arch', 'arch'),
- 'authorized_keys': ('authorized_key', 'authorized_key'),
+ 'authorized_keys': ('authorized_key', 'authorized_key[]'),
}),
('install_linux', 'linux', {
'dist': ('dist', 'dist'),
'arch': ('arch', 'arch'),
'lang': ('lang', 'lang'),
- 'authorized_keys': ('authorized_key', 'authorized_key'),
+ 'authorized_keys': ('authorized_key', 'authorized_key[]'),
}),
('install_vnc', 'vnc', {
'dist': ('dist', 'dist'),
@@ -404,7 +404,7 @@ def main():
if should is None:
continue
# unfold the return object for the idempotence check to work correctly
- has = existing.get(data_key)
+ has = existing.get(result_key)
if has and option_key == 'authorized_keys':
has = [x['key']['fingerprint'] for x in has]
if isinstance(has, list):