Merge "Install python3 for the latest version of rally"
This commit is contained in:
commit
e1b1e9f0a3
@ -18,9 +18,11 @@
|
||||
- openssl-devel
|
||||
- policycoreutils-python
|
||||
- python-devel
|
||||
- python3
|
||||
state: present
|
||||
become: true
|
||||
when: ansible_distribution_major_version < '8'
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Install dependencies for RHEL8
|
||||
yum:
|
||||
@ -142,4 +144,4 @@
|
||||
insertafter: "self.validate_refresh"
|
||||
line: " v.Optional('regex',default=''): v.All(str),"
|
||||
|
||||
when: collectd_prometheus
|
||||
when: collectd_prometheus
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
- name: Create rally virtualenv
|
||||
command: virtualenv {{ rally_venv }} creates={{ rally_venv }}
|
||||
command: virtualenv --python=python3 {{ rally_venv }} creates={{ rally_venv }}
|
||||
|
||||
- name: Rally Add browbeat to Python path
|
||||
shell: echo 'export PYTHONPATH=$PYTHONPATH:{{ browbeat_path }}' >> {{ rally_venv }}/bin/activate
|
||||
|
Loading…
x
Reference in New Issue
Block a user