Skip to content

Commit

Permalink
ci: pin ansible-compat to <4
Browse files Browse the repository at this point in the history
We have to use an old molecule version due to the state of
molecule-hetznercloud. Nevertheless, the Ansible team renamed
Runtime.exec to Runtime.run in ansible-compat which breaks molecule
because it tries to call an old method.

Pinning ansible-compat to 3.x is a proper fix according to
ansible/molecule#3903.

Signed-off-by: Tom Siewert <[email protected]>
  • Loading branch information
sinuscosinustan committed May 22, 2023
1 parent 8c55f5e commit 56d208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
python-version: '3.x'

- name: Install ansible and molecule
run: pip3 install ansible molecule-hetznercloud
run: pip3 install ansible "ansible-compat<4" molecule-hetznercloud

- uses: hetznercloud/tps-action@main
with:
Expand Down

0 comments on commit 56d208c

Please sign in to comment.