summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-08 23:39:12 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-08 23:39:12 +0000
commit7ba57bb7b5592dc828670b7e01fc768ac767e86c (patch)
tree4736da9037da1ed20a5c4a77dad81b8c36079920
parent6e43e1570aea06b7b2507db52910034a915156e7 (diff)
Become root during package installation
Previously, the playbook would fail if it needed to install packages, as this (in the case of apt) requires sudo.
-rw-r--r--playbook.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 84242c9..127c383 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -17,6 +17,7 @@
- python3-certbot-apache
- ufw
state: present
+ become: true
- name: Ensure required ports are open
community.general.ufw:
rule: allow