basessh: remove singlequotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
da8ef971ee
commit
61ebb2f958
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
- name: Set list of certs to sign
|
- name: Set list of certs to sign
|
||||||
set_fact:
|
set_fact:
|
||||||
certs_to_sign: "{{ certs_to_sign + ['item.item.path'] }}"
|
certs_to_sign: "{{ certs_to_sign + [item.item.path] }}"
|
||||||
with_items: "{{ssh_cert_files.results}}"
|
with_items: "{{ssh_cert_files.results}}"
|
||||||
when: not item.stat.exists
|
when: not item.stat.exists
|
||||||
tags:
|
tags:
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
# Renew if last mod was more than 10 months ago
|
# Renew if last mod was more than 10 months ago
|
||||||
- name: Get soon-to-expire certificates to sign
|
- name: Get soon-to-expire certificates to sign
|
||||||
set_fact:
|
set_fact:
|
||||||
certs_to_sign: "{{ certs_to_sign + ['item.item.path'] }}"
|
certs_to_sign: "{{ certs_to_sign + [item.item.path] }}"
|
||||||
with_items: "{{ssh_cert_files.results}}"
|
with_items: "{{ssh_cert_files.results}}"
|
||||||
when: "item.stat.exists and item.stat.mtime|int < (lookup('pipe', 'date +%s')|int - 25920000)"
|
when: "item.stat.exists and item.stat.mtime|int < (lookup('pipe', 'date +%s')|int - 25920000)"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue