1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 08:22:29 +02:00
infrastructure/playbooks/luna.yml

31 lines
652 B
YAML
Raw Normal View History

2018-08-15 05:54:08 +02:00
---
- 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