aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/opnsense.yml
blob: b0bb284dc420c53df7a8119acaa0fd508c967a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- name: configure opnsense firewall
  hosts: opnsense_firewalls
  gather_facts: yes
  vars:
    unbound_max_negative_cache: 5
  roles:
    - freebsd_loader
    - pxe_server
  tasks:
    - name: set unbound negative ttl
      copy:
        content: |
          server:
          cache-max-negative-ttl: {{ unbound_max_negative_cache }}
        dest: /usr/local/etc/unbound.opnsense.d/custom.conf
      tags: unbound