From 76112766be798a10d4f6fdbfbdbc025f4e9d9c81 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Tue, 17 Dec 2024 10:57:48 +0100 Subject: [PATCH] fix ansible python interpreter 4 test workflow (#116) * issue #115 - added some debug task to test workflow ... * issue #115 - moere debug in test workflow ... * issue #115 - more debug in test workflow ... * issue #115 - try to set ansible_python_interpreter for test workflow ... --- .github/workflows/test.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6accca9..95dfade 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,21 @@ jobs: run: | python -m pip install --upgrade pip pip install ansible lxml cryptography + - name: debug versions + run: | + echo "which python ..." + which python + echo "python -VV ..." + python -VV + echo "pip --version ..." + pip --version + echo "pip list ..." + pip list + echo "ansible --version ..." + ansible --version + echo "ansible-config dump --only-changed -t all ..." + ansible-config dump --only-changed -t all - name: run ansible test working-directory: ./test run: | - ansible-playbook test.yml + ansible-playbook -e ansible_python_interpreter=$(which python) -v test.yml