1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 07:12:19 +02:00
infrastructure/playbooks/luna.yml
Florian Pritz 7b4510bd49
Add spampd role to luna
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-21 15:38:05 +01:00

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