File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,9 @@ provisioner:
35
35
- " 172.17.0.3"
36
36
- " 172.17.0.4"
37
37
keepalived_virtual_ip_address : " 172.17.0.20"
38
- keepalived_notification_email :
" [email protected] "
39
- # keepalived_notification_emails:
40
- # - "root@localhost"
41
-
38
+ keepalived_notification_emails :
39
+ - " root@localhost"
40
+
42
41
verifier :
43
42
name : " ansible"
44
43
scenario :
Original file line number Diff line number Diff line change 13
13
fail_msg : " Some mandatory variables are not set."
14
14
success_msg : " All mandatory variables are set."
15
15
16
- - name : " Variable keepalived_notification_email is deprecated"
17
- when : " keepalived_notification_email | default('') | length > 0"
18
- block :
19
-
20
- - name : " Set keepalived_notification_emails variable"
21
- ansible.builtin.set_fact :
22
- keepalived_notification_emails : ["{{ keepalived_notification_email }}"]
23
-
24
- - name : " Show deprecation warning"
25
- ansible.builtin.debug :
26
- msg :
27
- - " The variable keepalived_notification_email is deprecated and will be removed in the next major release."
28
- - " Please use list variable 'keepalived_notification_emails' instead."
29
-
30
16
- name : " Install dependencies for Keepalived."
31
17
become : true
32
18
ansible.builtin.package :
You can’t perform that action at this time.
0 commit comments