Skip to content

Commit

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

0 comments on commit 5fc7d01

Please sign in to comment.