Sets firewall for machines. It is very simple playbook, is does not define services in /etc/firewalld/services. Maybe later.
- name: Firewalling machines
hosts:
- all
roles:
- { role: firewall }
- name: Firewalling Solr
hosts: solr
roles:
- { role: firewall, open_port: [ 8983/tcp ] }
- name: Firewalling Fedora
hosts: fedora
roles:
- { role: firewall, open_port: [ 18080/tcp ] }
- name: Firewalling server war
hosts: war
roles:
- role: NLCR.firewall
open_service:
- http # nginx: seeder, wa_kat, sentry
- https # nginx: seeder
- mysql # wadmin
open_port:
- 8080/tcp # OpenWayback
- 8891/tcp # Manet
- 9000/tcp # Sentry
- 10001/tcp # wa_kat:
BSD
Rudolf Kreibich, https://github.com/westfood