M .build.yml => .build.yml +3 -3
@@ 4,7 4,6 @@ packages:
- ansible-lint
- python-hvac
- python-passlib # password_hash with bcrypt
- - python-pipx
- terraform
- yamllint
secrets:
@@ 37,8 36,9 @@ tasks:
mkdir -p ~/.ssh
cat ansible/ssh_host_keys/* > ~/.ssh/known_hosts
cat .ansible-secrets >> .buildenv
- pipx install ansible-runner
- echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.buildenv
+ python -m venv venv
+ venv/bin/python -m pip install -r ansible/misc/requirements.txt
+ echo 'export PATH="$HOME/venv/bin:$PATH"' >> ~/.buildenv
- avalon: |
cd ansible
python misc/run.py avalon
A misc/requirements.txt => misc/requirements.txt +2 -0
@@ 0,0 1,2 @@
+ansible-runner
+requests