diff --git a/defaults/main.yml b/defaults/main.yml index 2e7175d..d326e56 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -25,6 +25,7 @@ keepalived_instance1_name: 'VRRP_1' keepalived_interface1_name: '{{ ansible_default_ipv4.interface }}' keepalived_initial_state: 'MASTER' keepalived_inst_priority: 101 +keepalived_nopreempt_enabled: False keepalived_script_weight: 2 keepalived_vrouter_id: 51 keepalived_non_local_bind: True @@ -54,7 +55,7 @@ keepalived_instances: vrouter_id: '{{ keepalived_vrouter_id }}' notify: '{{ keepalived_notify_script }}' priority: '{{ keepalived_inst_priority }}' - nopreempt: False + nopreempt: '{{ keepalived_nopreempt_enabled }}' v_addr: - '{{ keepalived_floating_ip1 }}' track_script: