vrrpd: Store sysctl values in specific file

This commit is contained in:
Jérémy Lecour 2022-04-22 09:32:37 +02:00 committed by Jérémy Lecour
parent 4214db4ad6
commit 58909bc395
2 changed files with 6 additions and 2 deletions

View File

@ -31,6 +31,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* openvpn: use a subnet topology instead of the net30 default topology
* tomcat: Tomcat 9 by default with Debian 11
* openvpn: use a local copy of files instead of cloning an external git repository
* vrrpd: Store sysctl values in specific file
### Fixed

View File

@ -3,6 +3,8 @@
include_role:
name: evolix/apt
tasks_from: evolix_public.yml
tags:
- vrrpd
- name: Install vrrpd packages
apt:
@ -10,12 +12,13 @@
allow_unauthenticated: yes
state: present
tags:
- vrrpd
- vrrpd
- name: Adjust sysctl config
sysctl:
name: "{{ item.name }}"
value: "{{ item.value }}"
sysctl_file: /etc/sysctl.d/vrrpd.conf
sysctl_set: yes
state: present
loop:
@ -26,4 +29,4 @@
- { name: 'net.ipv4.conf.all.arp_announce', value: 2 }
- { name: 'net.ipv4.ip_nonlocal_bind', value: 1 }
tags:
- vrrpd
- vrrpd