Skip to content

Commit

Permalink
Set the default for ssh_public_key to empty list.
Browse files Browse the repository at this point in the history
  • Loading branch information
enasca committed Oct 19, 2023
1 parent 4fd5082 commit 4048ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/playbooks/single_user_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
sn: "{{ last_name }}"
mail: "{{ email }}"
loginshell: "{{ login_shell | default('/bin/bash') }}"
sshpubkey: "{{ ssh_public_key }}"
sshpubkey: "{{ ssh_public_key | default([]) }}"
validate_certs: false
state: "{{ desired_state | default('present') }}"
when: username is defined
Expand Down

0 comments on commit 4048ff3

Please sign in to comment.