summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
new file mode 100644
index 0000000..85b5e50
--- /dev/null
+++ b/playbook.yaml
@@ -0,0 +1,18 @@
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+---
+
+- name: Ensure XMPP server is set up
+ hosts: xmpp_server
+ tasks:
+ - name: Ensure required packages are installed
+ ansible.builtin.package:
+ name:
+ - certbot
+ - prosody
+ - prosody-modules
+ - python3-certbot-apache
+ - ufw
+ state: present