fix: condition
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2024-02-03 16:43:11 +01:00
parent 3d3f12f47a
commit 75fea198c2
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@
mode: "0600"
with_items:
- "{{ unix_user.value.ssh.private_keys }}"
when: unix_user.value.ssh.private_keys is defined and unix_user.value.ssh.private_keys | length >= 0
when: unix_user.value.ssh.private_keys is defined and unix_user.value.ssh.private_keys | length > 0
- name: "Extract public SSH keys from private keys for unix user: {{ unix_user.key }}"
ansible.builtin.shell: