Skip to content

Commit bcfc346

Browse files
authored
Merge pull request #1640 from grycap/virtualenv
Fix error in RHE
2 parents 2f50633 + 185d381 commit bcfc346

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

contextualization/conf-ansible.yml

+8
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
executable: pip3
133133
extra_args: "{{ extra_args }}"
134134

135+
- name: Create virtualenv link in PATH
136+
file:
137+
state: link
138+
src: /usr/local/bin/virtualenv
139+
dest: /usr/local/sbin/virtualenv
140+
when: ansible_os_family == "RedHat"
141+
ignore_errors: yes
142+
135143
# Version over 21 does not work with python 3.6 or older
136144
- name: Upgrade pip in py3.6-
137145
pip:

0 commit comments

Comments
 (0)