ansible-playbooks/network/modes/gaming.ansible.yml

14 lines
368 B
YAML

- hosts: localhost
tasks:
- name: Install iptables for docker compatibility
package:
name:
- iptables
state: present
- name: Deploy pterodactyl nft rules
template:
src: files/firewall_pterodactyl-rules.j2
dest: /etc/nftables.d/pterodactyl.nft
owner: root
group: root
mode: '0600'