Do the loop
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
d31019a444
commit
9b48361d76
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@
|
|||
- name: Get soon-to-expire certificates to sign
|
||||
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 < (ansible_date_time.epoch - 25920000)"
|
||||
tags:
|
||||
- basessh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue