summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 85b5e50..503d3ae 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -16,3 +16,13 @@
- python3-certbot-apache
- ufw
state: present
+ - name: Ensure required ports are open
+ community.general.ufw:
+ rule: allow
+ name: "{{ item }}"
+ state: enabled
+ loop:
+ - OpenSSH
+ - WWW
+ - XMPP
+ become: true