Skip to content

Commit

Permalink
Create a temporary venv for Ansible
Browse files Browse the repository at this point in the history
Fixes: #190
  • Loading branch information
atodorov committed Nov 10, 2017
1 parent 00810c6 commit 9e262a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jjb/install-rhel7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@
builders:
- shell: |
#!/bin/bash -ex
virtualenv ansible.venv && source ansible.venv/bin/activate
pip install --upgrade setuptools pip
pip install 'ansible==2.4.1.0'
export PYTHONUNBUFFERED=1 # Enable real-time output for Ansible
ansible-playbook -i localhost, -c local \
"${WORKSPACE}/cinch/cinch/playbooks/install-rhel7.yml" \
-e delete_venv="${DELETE_VENV}" \
-e latest_tip="${LATEST_TIP}" \
-e beaker_kerberos="${BEAKER_KERBEROS}"
deactivate

0 comments on commit 9e262a2

Please sign in to comment.