summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-07 11:39:27 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-07 11:39:27 +0000
commit8093a955e3c6238cc14537a54c56277af6b89dc2 (patch)
treeb827d8fa567d49d7d30054e42848c7313f4550e4 /playbook.yaml
parent4d935d6ed70cc953fe53c56ab195dd1c6c4db6e3 (diff)
Add initial playbook
At present, the playbook simply ensures that all required packages are installed.
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