mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-24 14:33:02 +02:00
* 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
28 lines
513 B
YAML
28 lines
513 B
YAML
---
|
|
|
|
- name: Gather Facts
|
|
setup:
|
|
tags:
|
|
- always
|
|
|
|
- include: ubuntu.yml
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
|
|
- include: freebsd.yml
|
|
when: ansible_distribution == 'FreeBSD'
|
|
|
|
- name: Install tools
|
|
package: name="{{ item }}" state=present
|
|
with_items:
|
|
- "{{ tools }}"
|
|
tags:
|
|
- always
|
|
|
|
- name: Enable packet forwarding for IPv4
|
|
sysctl: name="{{ item }}" value=1
|
|
with_items:
|
|
- "{{ sysctl.forwarding }}"
|
|
tags:
|
|
- always
|
|
|
|
- meta: flush_handlers
|