From cd35b14d50682dffed5d98bd53c2eeebf47ae327 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Fri, 13 Nov 2026 01:47:33 -0600 Subject: [PATCH] restore sudo --- playbooks/setup-lxc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/setup-lxc.yaml b/playbooks/setup-lxc.yaml index 0e3a1f9..8ffdaed 100644 --- a/playbooks/setup-lxc.yaml +++ b/playbooks/setup-lxc.yaml @@ -3,6 +3,7 @@ hosts: lxc connection: "{{ ansible_connection_type | default('local') }}" gather_facts: true + become: true vars_files: - ./vault.yaml @@ -46,6 +47,7 @@ --vault-password-file /root/vault.pass -e confirm_restore=true delegate_to: localhost + become: false when: not apps_docker_dir.stat.exists or not apps_data_dir.stat.exists - name: Copy docker-compose.yml from repo