summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/setup_passlib_controller/runme.sh
blob: c9f13e7825b095f2dee2820f68de0774b59f49d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -eux

# Temporary hack for PEP 668 on newer systems.
# Remove once ansible-test can provide targets their own virtual environment.
# Tests which can manage their own virtual environment should not use this approach.
export PIP_BREAK_SYSTEM_PACKAGES=1

# Requirements have to be installed prior to running ansible-playbook
# because plugins and requirements are loaded before the task runs
python -m pip install passlib