mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-20 07:12:19 +02:00
7b4510bd49
Signed-off-by: Florian Pritz <bluewind@xinu.at>
31 lines
652 B
YAML
31 lines
652 B
YAML
---
|
|
|
|
- name: setup luna
|
|
hosts: luna.archlinux.org
|
|
remote_user: root
|
|
tasks:
|
|
- name: open firewall holes for services
|
|
firewalld: service={{item}} permanent=true state=enabled immediate=yes
|
|
with_items:
|
|
- zabbix-agent
|
|
- http
|
|
- https
|
|
- rsyncd
|
|
- smtp
|
|
- git
|
|
when: configure_firewall
|
|
tags:
|
|
- firewall
|
|
|
|
- name: open firewall holes for ports
|
|
firewalld: port={{item}} permanent=true state=enabled immediate=yes
|
|
with_items:
|
|
- 6969/tcp
|
|
- 4949/tcp
|
|
when: configure_firewall
|
|
tags:
|
|
- firewall
|
|
roles:
|
|
- nginx
|
|
- spampd
|