From 56d208c2e5c4a1905132b8cb428709a1d3c2a8c9 Mon Sep 17 00:00:00 2001 From: Tom Siewert Date: Mon, 22 May 2023 10:02:08 +0200 Subject: [PATCH] ci: pin ansible-compat to <4 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-community/molecule#3903. Signed-off-by: Tom Siewert --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fefa9f8..904a8e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: