From 0453729e5a9662f0335528fa616132e2342ddc95 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 23 Mar 2021 21:05:02 +0200 Subject: [PATCH] Missing date_time fact. Needed for calculating how old the DH params file is. --- tasks/renew-cert.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/renew-cert.yaml b/tasks/renew-cert.yaml index 5531dcf..0be39e8 100644 --- a/tasks/renew-cert.yaml +++ b/tasks/renew-cert.yaml @@ -138,6 +138,11 @@ - dhparams delegate_to: *delegate_to block: + - name: Gather facts + ansible.builtin.setup: + gather_subset: + - date_time + - name: Get dhparams file stat ansible.builtin.stat: path: &dhparams /var/ssl/dhparams -- GitLab