diff --git a/roles/backup/tasks/postgres.yml b/roles/backup/tasks/postgres.yml index a79b74c13..948357fa5 100644 --- a/roles/backup/tasks/postgres.yml +++ b/roles/backup/tasks/postgres.yml @@ -54,7 +54,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: