diff --git a/.github/workflows/default-lxd.yml b/.github/workflows/default-lxd.yml index 7a80a52..f8de6a7 100644 --- a/.github/workflows/default-lxd.yml +++ b/.github/workflows/default-lxd.yml @@ -124,7 +124,7 @@ jobs: - name: Ansible dependencies in lxd run: | cd $GITHUB_WORKSPACE/$ANSIBLE_ROLE - [ -f get-dependencies.sh ] && lxc exec $LXDGUEST -- sh -x /tmp/workspace/$ANSIBLE_ROLE/get-dependencies.sh + [ -f get-dependencies.sh ] && sudo lxc exec $LXDGUEST -- sh -x /tmp/workspace/$ANSIBLE_ROLE/get-dependencies.sh sudo lxc exec $LXDGUEST -- "{ echo '[defaults]'; echo 'callbacks_enabled = profile_tasks, timer'; echo 'roles_path = ../'; echo 'ansible_python_interpreter: /usr/bin/python3'; } >> ansible.cfg" - name: Converge run: |