bugfix: timestamp wasn't stabel anymore

feature/DEV-380
Sven Ketelsen 4 years ago
parent 5733b20dc3
commit 68f1c76919

@ -11,6 +11,7 @@
# Parameters:
# playbook inventory
# stage := the name of the stage (e.g. dev, int, qa, prod)
# database_engine := the database engine to generate a complete backup for (e.g. postgres, maria)
# smardigo message callback
# scope_id := (scope id of the management process)
# process_instance_id := (process instance id of the management process)
@ -62,6 +63,9 @@
- hosts: "postgres:maria"
serial: "{{ serial_number | default(1) }}"
vars:
current_date_time: '{{ get_current_date_time }}'
tasks:
- name: "Trigger backup mechanism"
include_role:
@ -76,6 +80,7 @@
serial: "{{ serial_number | default(5) }}"
vars:
storageserver_system_user: 'backuphamster'
tasks:
# I could not get it up and running with <synchronize> module
# to sync data from remote server A to remote server B

@ -200,7 +200,7 @@ blackbox_http_2xx_additional_targets: []
prometheus_federation_enabled: true
kubernetes_prometheus_endpoint: "{{ stage }}-kube-prometheus.{{ domain }}"
current_date_time: "{{ lookup('pipe','date +%Y-%m-%d_%H:%M') }}"
get_current_date_time: "{{ lookup('pipe','date +%Y-%m-%d_%H:%M') }}"
hcloud_firewall_objects:
-

Loading…
Cancel
Save