sshd_cert: Fix lint errors
This commit is contained in:
parent
315d89c750
commit
d8cf025fbe
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@
|
|||
- -z
|
||||
- "{{ ansible_date_time.epoch }}"
|
||||
- "/srv/sshca/pubkeys/{{ inventory_hostname }}.pub"
|
||||
when: not sshd_cert_status.stat.exists or sshd_cert_status.stat.mtime | int < sshd_cert_pubkey.stat.mtime | int
|
||||
when: >
|
||||
not sshd_cert_status.stat.exists or
|
||||
sshd_cert_status.stat.mtime | int < sshd_cert_pubkey.stat.mtime | int
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Install certificate
|
||||
|
|
Loading…
Add table
Reference in a new issue