diff options
| author | spmfox <spmfox@foxwd.com> | 2025-07-30 18:19:35 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2025-07-30 18:19:35 -0400 |
| commit | 073042cae96e01a5e5ecbe434f00ef3ebf86e9b8 (patch) | |
| tree | dcd14640b3fb6d826a09ea1c5ae20e6d836f8ce2 /roles/guest-configure/tasks | |
| parent | 167b3da9926db3a4f507533427b72933c008dee6 (diff) | |
Diffstat (limited to 'roles/guest-configure/tasks')
| -rw-r--r-- | roles/guest-configure/tasks/user.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/guest-configure/tasks/user.yml b/roles/guest-configure/tasks/user.yml index 2458ccf..7bfe85d 100644 --- a/roles/guest-configure/tasks/user.yml +++ b/roles/guest-configure/tasks/user.yml @@ -12,8 +12,9 @@ ansible.posix.authorized_key: user: "{{ guest_configure_user }}" state: present - key: "{{ guest_configure_ssh_key }}" - when: guest_configure_ssh_key | length > 0 + key: "{{ item }}" + loop: "{{ guest_configure_ssh_keys }}" + when: guest_configure_ssh_keys | length > 0 - name: RedHat block when: ansible_os_family == "RedHat" |
