This commit is contained in:
Guy Godfroy 2020-07-20 17:09:24 +02:00
parent 17b9117efd
commit 7cb45ff6e6
2 changed files with 2 additions and 3 deletions

View File

@ -1,2 +1,2 @@
--- ---
# defaults file for openbsd-carp openbsd_carp_preempt: True

View File

@ -7,8 +7,7 @@
- name: Allow CARP preempt - name: Allow CARP preempt
sysctl: sysctl:
name: net.inet.carp.preempt name: net.inet.carp.preempt
value: '1' value: {{ openbsd_carp_preempt | int }}
when: openbsd_carp_preempt
- name: Configure carp{{ carp.num }} - name: Configure carp{{ carp.num }}
template: template: