This commit is contained in:
2020-07-20 16:05:30 +02:00
parent 5c06670ed7
commit 17b9117efd
3 changed files with 20 additions and 1 deletions

View File

@@ -9,3 +9,14 @@
name: net.inet.carp.preempt
value: '1'
when: openbsd_carp_preempt
- name: Configure carp{{ carp.num }}
template:
src: hostname.carp.j2
dest: /etc/hostname.carp{{ carp.num }}
notify: start carp{{ carp.num }}
loop: "{{ openbsd_carp | flatten(level=1) }}"
loop_control:
loop_var: carp
- meta: flush_handlers