Create a self-signed CA, set up group configs, add script to allow new connections through the firewall. In the base debian role, drop the default nftables forward chain with drop policy because it clashes with this. If you enable forwarding on a debian host, make sure to configure the firewall.
16 lines
341 B
YAML
16 lines
341 B
YAML
- name: reload nftables
|
|
service:
|
|
name: nftables
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload systemd
|
|
command: systemctl daemon-reload
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart ocserv
|
|
service:
|
|
name: ocserv
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|