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:
Jérémy Lecour 2017-10-08 12:48:56 +02:00
parent 97b0225232
commit 6984c121c2

View file

@ -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.