diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 11:56:42 +0000 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 11:56:42 +0000 |
commit | 71e36164cae64494cdb91f537d65821c8e2e00f8 (patch) | |
tree | f5251e9626e0a469ef95242b0ab12947122b6aee /playbook.yaml | |
parent | 8093a955e3c6238cc14537a54c56277af6b89dc2 (diff) |
Open ports for OpenSSH, WWW and XMPP
This commit enables the necessary ports for XMPP, web hosting (to allow certbot
to renew automatically) and SSH.
Diffstat (limited to 'playbook.yaml')
-rw-r--r-- | playbook.yaml | 10 |
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 |