From 7ba57bb7b5592dc828670b7e01fc768ac767e86c Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Mon, 8 Jan 2024 23:39:12 +0000 Subject: 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. --- playbook.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'playbook.yaml') 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 -- cgit v1.2.3