diff --git a/.github/workflows/default-lxd.yml b/.github/workflows/default-lxd.yml index 76dc8e1..586de94 100644 --- a/.github/workflows/default-lxd.yml +++ b/.github/workflows/default-lxd.yml @@ -128,6 +128,9 @@ jobs: { echo '[defaults]'; echo 'callbacks_enabled = profile_tasks, timer'; echo 'roles_path = ../'; echo 'ansible_python_interpreter: /usr/bin/python3'; } >> ansible.cfg sudo lxc file push ansible.cfg $LXDGUEST/root/ansible.cfg sudo lxc exec $LXDGUEST -- pwd + sudo lxc exec $LXDGUEST -- which pip3 + [ "X${{ matrix.distribution }}" == "Xdebian" ] && sudo lxc exec $LXDGUEST -- apt-get install -y python3-pip + [ "X${{ matrix.distribution }}" == "Xubuntu" ] && sudo lxc exec $LXDGUEST -- apt-get install -y python3-pip sudo lxc exec $LXDGUEST -- pip3 install ansible sudo lxc exec $LXDGUEST -- which ansible-playbook - name: Converge