From f1d14582503b20690edf5e77e4e33a79d7b09be1 Mon Sep 17 00:00:00 2001 From: GabrielePuliti <12409541+Wabri@users.noreply.github.com> Date: Wed, 22 May 2024 11:14:12 +0200 Subject: [PATCH] fix(hana_system_replication_hooks): typo "lost" Closes #42 --- roles/hana_system_replication_hooks/tasks/tasks.yml | 4 ++-- roles/hana_system_replication_hooks/vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/hana_system_replication_hooks/tasks/tasks.yml b/roles/hana_system_replication_hooks/tasks/tasks.yml index f68af48..135bde0 100644 --- a/roles/hana_system_replication_hooks/tasks/tasks.yml +++ b/roles/hana_system_replication_hooks/tasks/tasks.yml @@ -87,7 +87,7 @@ provider = susChkSrv path = /usr/share/SAPHanaSR/ execution_order = 3 - action_on_loss=stop + action_on_lost=stop check_mode: true changed_when: false register: int_reg_pre_global_suschksrv_hook @@ -180,7 +180,7 @@ provider = susChkSrv path = /usr/share/SAPHanaSR/ execution_order = 3 - action_on_loss=stop + action_on_lost=stop register: int_reg_pre_global_ini when: int_fact_suschksrv_hook_change diff --git a/roles/hana_system_replication_hooks/vars/main.yml b/roles/hana_system_replication_hooks/vars/main.yml index 5fbffcd..c187956 100644 --- a/roles/hana_system_replication_hooks/vars/main.yml +++ b/roles/hana_system_replication_hooks/vars/main.yml @@ -40,7 +40,7 @@ int_var_global_suschksrv_hook: - { 'section': 'ha_dr_provider_suschksrv', 'option': 'provider', 'value': 'susChkSrv' } - { 'section': 'ha_dr_provider_suschksrv', 'option': 'path', 'value': '/usr/share/SAPHanaSR/' } - { 'section': 'ha_dr_provider_suschksrv', 'option': 'execution_order', 'value': '3' } - - { 'section': 'ha_dr_provider_suschksrv', 'option': 'action_on_loss=stop', 'value': 'stop' } + - { 'section': 'ha_dr_provider_suschksrv', 'option': 'action_on_lost=stop', 'value': 'stop' } - { 'section': 'trace', 'option': 'ha_dr_suschksrv = info', 'value': 'info' } int_var_trace_section_header: '[trace]'