fix: access undefined variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-06-30 10:50:53 +00:00
parent db475e68d0
commit b997726f4f

View File

@ -28,4 +28,4 @@
nopassword: "{{ item.value.without_password | default(False) }}" nopassword: "{{ item.value.without_password | default(False) }}"
commands: "{{ items.value.command | join(',') if items.value.command is defined and items.value.command | length > 0 else 'ALL' }}" commands: "{{ items.value.command | join(',') if items.value.command is defined and items.value.command | length > 0 else 'ALL' }}"
when: "item.value | length > 0" when: "item.value | length > 0"
with_dict: "{{ sudo_users }}" with_dict: "{{ sudo_users_sudoers }}"