Skip to content

Commit

Permalink
ci(default-lxd): fix dependencies step (5)
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Sep 30, 2023
1 parent b0f921f commit 65cd780
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 @@ -127,6 +127,9 @@ jobs:
[ -f get-dependencies.sh ] && sh -x get-dependencies.sh
{ 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 -- pip install ansible
sudo lxc exec $LXDGUEST -- which ansible-playbook
- name: Converge
run: |
sudo lxc exec $LXDGUEST -- ansible-playbook -i localhost, --connection=local --become -vvv /tmp/workspace/$ANSIBLE_ROLE/test/integration/default/default.yml ${ANSIBLE_EXTRA_VARS}
Expand Down

0 comments on commit 65cd780

Please sign in to comment.