Skip to content
Snippets Groups Projects
Commit f7b75cc4 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

tests/azure: Set ANSIBLE_LIBRARY to fix unknown interpreter issue

The ANSIBLE_LIBRARY environment variable needs to point to molecule
directory.
parent b598470c
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ jobs:
- script: molecule create -s ${{ parameters.build_scenario_name }}
displayName: Create test container
env:
ANSIBLE_LIBRARY: ./molecule
- script: |
docker stop ${{ parameters.build_scenario_name }}
......
......@@ -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 \
......
......@@ -36,6 +36,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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment