Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit bd98871

Browse files
authored
Fix ansible.windows by installing it from galaxy (#236)
1 parent e53591f commit bd98871

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ jobs:
9696
brew install --cask virtualbox-extension-pack
9797
fi
9898
pip3 install pywinrm
99+
# Update ansible.windows to the latest version to fix the problems in https://github.com/ansible-collections/ansible.windows/issues/142
100+
# This should be removed in Ansible version v2.11
101+
ansible-galaxy collection install ansible.windows chocolatey.chocolatey
99102
echo "/usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin" >> "${GITHUB_PATH}"
100103
101104
- name: Set environment variables from payload

0 commit comments

Comments
 (0)