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