29 lines
549 B
YAML
29 lines
549 B
YAML
---
|
|
- name: Install conntrackd
|
|
apt:
|
|
name: conntrackd
|
|
|
|
- name: Configure conntrackd
|
|
template:
|
|
src: conntrackd.conf.j2
|
|
dest: /etc/conntrackd/conntrackd.conf
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,g=r,o=r
|
|
notify:
|
|
- Restart conntrackd
|
|
|
|
- name: Install conntrackd_vrrp script
|
|
template:
|
|
src: conntrackd_vrrp.j2
|
|
dest: /usr/local/sbin/conntrackd_vrrp
|
|
owner: root
|
|
group: root
|
|
mode: u=rwx,g=r,o=r
|
|
|
|
- name: Enable and start conntrackd
|
|
systemd:
|
|
name: conntrackd
|
|
enabled: true
|
|
state: started
|
|
...
|