sshd_cert: Fix lint errors

This commit is contained in:
Timo Makinen 2024-03-24 18:23:46 +00:00
parent 315d89c750
commit d8cf025fbe

View file

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