mirror of
https://github.com/trailofbits/algo
synced 2024-11-18 09:25:38 +00:00
6facb6cb4f
* FreeBSD draft ifconfig fix Pre-tasks fixes fix hardcoded IP some refactoring disable system-based tags disable freebsd tags FreeBSD vpn role add defaults ssh role freebsd default fix dns_adblocking freebsd ubuntu dict fix * HardenedBSD update-users BSD * Rebuild the kernel docs changing
19 lines
492 B
YAML
19 lines
492 B
YAML
- name: restart rsyslog
|
|
service: name=rsyslog state=restarted
|
|
|
|
- name: restart ipfw
|
|
service: name=ipfw state=restarted
|
|
|
|
- name: flush routing cache
|
|
shell: echo 1 > /proc/sys/net/ipv4/route/flush
|
|
|
|
- name: restart loopback
|
|
shell: ifdown lo:100 && ifup lo:100
|
|
|
|
- name: restart loopback bsd
|
|
shell: >
|
|
ifconfig lo100 destroy || true &&
|
|
ifconfig lo100 create &&
|
|
ifconfig lo100 inet {{ local_service_ip }} netmask 255.255.255.255 &&
|
|
ifconfig lo100 inet6 FCAA::1/64; echo $?
|