From ce0cb361c33fdfeda01e373d077267a0cb3bb7fa Mon Sep 17 00:00:00 2001 From: juju4 Date: Sat, 30 Sep 2023 13:36:43 +0000 Subject: [PATCH] ci(default-lxd): fix dependencies step (10) --- .github/workflows/default-lxd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/default-lxd.yml b/.github/workflows/default-lxd.yml index 427f2c4..ce9a814 100644 --- a/.github/workflows/default-lxd.yml +++ b/.github/workflows/default-lxd.yml @@ -128,6 +128,10 @@ 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 -- ip address + sudo lxc exec $LXDGUEST -- ip route + sudo lxc exec $guest -- dhclient eth0 + sudo lxc exec $guest -- ping -c 1 8.8.8.8 [ "X${{ matrix.distribution }}" == "Xdebian" -o "X${{ matrix.distribution }}" == "Xubuntu" ] && sudo lxc exec $LXDGUEST -- apt-get update [ "X${{ matrix.distribution }}" == "Xdebian" -o "X${{ matrix.distribution }}" == "Xubuntu" ] && sudo lxc exec $LXDGUEST -- apt-get install -y python3-pip sudo lxc exec $LXDGUEST -- pip3 install ansible