Skip to content

Commit c05173a

Browse files
authored
Merge pull request #191 from atodorov/fix_190
Create a temporary venv for Ansible
2 parents 00810c6 + 9e262a2 commit c05173a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jjb/install-rhel7.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@
3131
builders:
3232
- shell: |
3333
#!/bin/bash -ex
34+
virtualenv ansible.venv && source ansible.venv/bin/activate
35+
pip install --upgrade setuptools pip
36+
pip install 'ansible==2.4.1.0'
37+
3438
export PYTHONUNBUFFERED=1 # Enable real-time output for Ansible
3539
ansible-playbook -i localhost, -c local \
3640
"${WORKSPACE}/cinch/cinch/playbooks/install-rhel7.yml" \
3741
-e delete_venv="${DELETE_VENV}" \
3842
-e latest_tip="${LATEST_TIP}" \
3943
-e beaker_kerberos="${BEAKER_KERBEROS}"
44+
45+
deactivate

0 commit comments

Comments
 (0)