Skip to content

Commit

Permalink
Merge pull request #191 from atodorov/fix_190
Browse files Browse the repository at this point in the history
Create a temporary venv for Ansible
  • Loading branch information
robled authored Nov 10, 2017
2 parents 00810c6 + 9e262a2 commit c05173a
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 c05173a

Please sign in to comment.