vrrpd: Store sysctl values in specific file
This commit is contained in:
parent
4214db4ad6
commit
58909bc395
|
@ -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
|
* openvpn: use a subnet topology instead of the net30 default topology
|
||||||
* tomcat: Tomcat 9 by default with Debian 11
|
* tomcat: Tomcat 9 by default with Debian 11
|
||||||
* openvpn: use a local copy of files instead of cloning an external git repository
|
* openvpn: use a local copy of files instead of cloning an external git repository
|
||||||
|
* vrrpd: Store sysctl values in specific file
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
include_role:
|
include_role:
|
||||||
name: evolix/apt
|
name: evolix/apt
|
||||||
tasks_from: evolix_public.yml
|
tasks_from: evolix_public.yml
|
||||||
|
tags:
|
||||||
|
- vrrpd
|
||||||
|
|
||||||
- name: Install vrrpd packages
|
- name: Install vrrpd packages
|
||||||
apt:
|
apt:
|
||||||
|
@ -10,12 +12,13 @@
|
||||||
allow_unauthenticated: yes
|
allow_unauthenticated: yes
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- vrrpd
|
- vrrpd
|
||||||
|
|
||||||
- name: Adjust sysctl config
|
- name: Adjust sysctl config
|
||||||
sysctl:
|
sysctl:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
|
sysctl_file: /etc/sysctl.d/vrrpd.conf
|
||||||
sysctl_set: yes
|
sysctl_set: yes
|
||||||
state: present
|
state: present
|
||||||
loop:
|
loop:
|
||||||
|
@ -26,4 +29,4 @@
|
||||||
- { name: 'net.ipv4.conf.all.arp_announce', value: 2 }
|
- { name: 'net.ipv4.conf.all.arp_announce', value: 2 }
|
||||||
- { name: 'net.ipv4.ip_nonlocal_bind', value: 1 }
|
- { name: 'net.ipv4.ip_nonlocal_bind', value: 1 }
|
||||||
tags:
|
tags:
|
||||||
- vrrpd
|
- vrrpd
|
||||||
|
|
Loading…
Reference in a new issue