From 18bd2207b6c1977e99a93673a7be099e23f0f547 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 08:22:20 +0200 Subject: Merging upstream version 10.1.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/community/hrobot/plugins/modules/boot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ansible_collections/community/hrobot/plugins') 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): -- cgit v1.2.3