From 61ef5ef005a228d2842d8cbc432cdc2a01584fd4 Mon Sep 17 00:00:00 2001 From: David Luong Date: Thu, 2 Mar 2023 13:54:00 -0500 Subject: [PATCH] change date format to avoid : --- roles/backup/tasks/postgres.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/backup/tasks/postgres.yml b/roles/backup/tasks/postgres.yml index f14bc877..a4aef2ce 100644 --- a/roles/backup/tasks/postgres.yml +++ b/roles/backup/tasks/postgres.yml @@ -50,7 +50,7 @@ - name: Determine the timestamp for the backup once for all nodes set_fact: - now: '{{ lookup("pipe", "date +%F-%T") }}' + now: '{{ lookup("pipe", "date +%F-%H%M%S") }}' - name: Set backup directory name set_fact: