Skip to content

Commit

Permalink
ci(default-lxd): fix dependencies step (10)
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Sep 30, 2023
1 parent 7adcc2c commit ce0cb36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/default-lxd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce0cb36

Please sign in to comment.