Skip to content

Commit 1b58cf0

Browse files
committed
Update install-packages.yml
1 parent e5bacfe commit 1b58cf0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tasks/modules/install-packages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
state: present
66
when:
77
- nginx_keepalived_enable | bool
8-
- ansible_facts['os_family'] != 'Alpine' or ansible_facts['distribution'] != 'Amazon'
8+
- ansible_facts['os_family'] != 'Alpine'
9+
- ansible_facts['distribution'] != 'Amazon'
910
notify: (Handler) Start NGINX Plus HA keepalived
1011

1112
- name: Configure NGINX Plus keepalived HA
@@ -15,5 +16,6 @@
1516
mode: "0644"
1617
when:
1718
- nginx_keepalived_conf_enable | bool
18-
- ansible_facts['os_family'] != 'Alpine' or ansible_facts['distribution'] != 'Amazon'
19+
- ansible_facts['os_family'] != 'Alpine'
20+
- ansible_facts['distribution'] != 'Amazon'
1921
notify: (Handler) Start NGINX Plus HA keepalived

0 commit comments

Comments
 (0)