fix: run if only one command in sudoer commands
This commit is contained in:
parent
483e7e7f05
commit
9c6fba7938
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
validate: "visudo -cf %s"
|
||||
loop: "{{ acme_sh_user_sudo_commands }}"
|
||||
when:
|
||||
- acme_sh_user_sudo_commands | length > 1
|
||||
- acme_sh_user_sudo_commands | length > 0
|
||||
- acme_sh_user_sudoers_file_contents | default('') == ""
|
||||
|
||||
- name: Install acme.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue