diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:22:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:22:15 +0000 |
commit | 0202b47f95a87598276869ab7f07f57e8a4c8a87 (patch) | |
tree | 21f101dcceb98166b117c40dab3d79d5b2ad8eed /ansible_collections/community/hrobot/plugins | |
parent | Adding upstream version 10.0.1+dfsg. (diff) | |
download | ansible-upstream.tar.xz ansible-upstream.zip |
Adding upstream version 10.1.0+dfsg.upstream/10.1.0+dfsgupstream
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.py | 6 |
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): |