tests/azure: Set ANSIBLE_LIBRARY to fix unknown interpreter issue

The ANSIBLE_LIBRARY environment variable needs to point to molecule
directory.
This commit is contained in:
Thomas Woerner
2021-04-30 16:17:18 +02:00
parent b598470c2b
commit f7b75cc438
3 changed files with 6 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ jobs:
cp -a plugins/module_utils/* ~/.ansible/module_utils
molecule create -s ${{ parameters.scenario }}
displayName: Setup test container
env:
ANSIBLE_LIBRARY: ./molecule
- script: |
pytest \