Try this if statement
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b446cec41b
commit
53f762b281
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@
|
|||
|
||||
- name: Restart sshd in case we just signed a new certificate so it gets applied
|
||||
service: name=sshd state=restarted
|
||||
when: "certs_to_sign | length != 0"
|
||||
when: "certs_to_sign != []"
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_cert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue