forked from evolix/ansible-roles
evolinux-base/ssh: syntax clarity
"X != []" seems better than "not X == []" when the variable name is quite long and even more when we already use "X == []" in a previous condition
This commit is contained in:
parent
97b0225232
commit
6984c121c2
|
@ -15,7 +15,7 @@
|
|||
insertafter: EOF
|
||||
validate: '/usr/sbin/sshd -T -f %s'
|
||||
notify: reload sshd
|
||||
when: not evolinux_ssh_password_auth_addresses == []
|
||||
when: evolinux_ssh_password_auth_addresses != []
|
||||
|
||||
# We disable AcceptEnv because it can be a security issue, but also because we
|
||||
# do not want clients to push their environment variables like LANG.
|
||||
|
|
Loading…
Reference in a new issue