@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
13 lines (11 loc) • 429 B
YAML
- name: Allow access to Plex Media Server from LAN
lineinfile:
path: /etc/pf.conf
regexp: ".*32469 }$"
line: "{{ 'pass in proto tcp from {' + item + '} to any port { 32400, 3005, 8324, 32469 }' }}"
- name: Allow access to Plex Media Server from LAN
lineinfile:
path: /etc/pf.conf
regexp: ".*1900 }$"
line: "{{ 'pass in proto udp from {' + item + '} to any port { 5353, 32410:32414, 1900 }' }}"