mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
Also integer-ize the epoch
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
set_fact:
|
||||
certs_to_sign: "{{certs_to_sign}} + [ '{{item.item.path}}' ]"
|
||||
with_items: "{{ssh_cert_files.results}}"
|
||||
when: "item.stat.exists and item.stat.mtime|int < (ansible_date_time.epoch - 25920000)"
|
||||
when: "item.stat.exists and item.stat.mtime|int < (ansible_date_time.epoch|int - 25920000)"
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_cert
|
||||
|
||||
Reference in New Issue
Block a user