3737 ANSIBLE_DEBUG :
3838 type : choice
3939 description : ANSIBLE_DEBUG (true, false)
40- default : " false"
4140 options :
4241 - " false"
4342 - " true"
5453 build_upload :
5554 type : choice
5655 description : Upload release to Vagrant Cloud
57- default : " false"
5856 options :
5957 - " false"
6058 - " true"
@@ -196,26 +194,34 @@ jobs:
196194 - name : Install packages
197195 run : |
198196 set -euxo pipefail
197+
199198 # Remove unused packages to save some disk space
200199 rm -rf /Users/runner/Library/Developer /Users/runner/Library/Android /Users/runner/hostedtoolcache /Users/runner/.dotnet
201- brew update
202- brew install bash coreutils gnu-sed jq packer hudochenkov/sshpass/sshpass vagrant
200+ brew install ansible bash coreutils gnu-sed jq packer hudochenkov/sshpass/sshpass hashicorp/tap/hashicorp-vagrant
201+
203202 if [[ "${PACKER_VAGRANT_PROVIDER}" = "libvirt" ]]; then
204203 brew install qemu xorriso
204+ qemu-system-x86_64 --version
205205 fi
206+
206207 if [[ "${PACKER_VAGRANT_PROVIDER}" = "virtualbox" ]]; then
207208 brew install virtualbox
209+ vboxmanage --version
208210 fi
209- # renovate: datasource=pypi depName=ansible
210- ANSIBLE_VERSION="8.2.0"
211- pip3 install ansible=="${ANSIBLE_VERSION}"
211+
212+ vagrant --version
213+ packer --version
214+ ansible --version
215+
212216 if [[ "${BUILD}" =~ windows ]]; then
213217 # renovate: datasource=pypi depName=pywinrm
214218 PYWINRM_VERSION="0.4.3"
215219 pip3 install pywinrm=="${PYWINRM_VERSION}"
216- ansible-galaxy collection install -v -r ansible/requirements.yml
220+ ansible-galaxy collection install -r --force ansible/requirements.yml
217221 fi
222+
218223 echo "/usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin" >> "${GITHUB_PATH}"
224+
219225 # Used by mxschmitt/action-tmate
220226 touch continue
221227
@@ -235,7 +241,7 @@ jobs:
235241 with :
236242 name : ${{ matrix.stage }}
237243 path : ${{ env.LOGDIR }}/*
238- retention-days : 1
244+ retention-days : 3
239245
240246 - name : Check the created box image
241247 run : |
0 commit comments