File tree Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Install NGINX Plus HA keepalived package
3
+ ansible.builtin.package :
4
+ name : nginx-ha-keepalived
5
+ state : present
6
+ when :
7
+ - nginx_keepalived_enable | bool
8
+ - ansible_facts['os_family'] != 'Alpine' or ansible_facts['distribution'] != 'Amazon'
9
+ notify : (Handler) Start NGINX Plus HA keepalived
10
+
11
+ - name : Configure NGINX Plus keepalived HA
12
+ ansible.builtin.template :
13
+ src : keepalived/keepalived.conf.tmpl.j2
14
+ dest : /etc/keepalived/keepalived.conf
15
+ mode : " 0644"
16
+ when :
17
+ - nginx_keepalived_conf_enable | bool
18
+ - ansible_facts['os_family'] != 'Alpine' or ansible_facts['distribution'] != 'Amazon'
19
+ notify : (Handler) Start NGINX Plus HA keepalived
You can’t perform that action at this time.
0 commit comments