Enable rhel-7-server-optional-rpms repo
This allows to install 'python3-devel' package removing therefore the need for compiling python on RHEL-7 Change-Id: I103f5d52fee4f54dba03588b469da3bae66e714d
This commit is contained in:
parent
fbe2ccb630
commit
12db48915f
@ -17,4 +17,5 @@ python_command: 'python{{ python_version }}'
|
||||
python_packages: {}
|
||||
python_info: {}
|
||||
|
||||
enable_yum_repos: []
|
||||
compile_python3: no
|
||||
|
@ -1,5 +1,12 @@
|
||||
---
|
||||
|
||||
- name: "enable yum repos"
|
||||
become: yes
|
||||
command:
|
||||
yum-config-manager --enable '{{ item }}'
|
||||
loop: '{{ enable_yum_repos }}'
|
||||
|
||||
|
||||
- name: "install '{{ python_command }}' packages"
|
||||
become: '{{ test_become | bool }}'
|
||||
package:
|
||||
|
9
roles/tobiko-ensure-python3/vars/CentOS-7.yaml
Normal file
9
roles/tobiko-ensure-python3/vars/CentOS-7.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
python_packages:
|
||||
python3:
|
||||
- python3
|
||||
- python3-devel
|
||||
python3.6:
|
||||
- python36
|
||||
- python36-devel
|
@ -1,6 +1,12 @@
|
||||
---
|
||||
|
||||
compile_python3: yes
|
||||
enable_yum_repos:
|
||||
- rhel-7-server-optional-rpms
|
||||
|
||||
python_release: "3.7.7"
|
||||
python_command: "python3.7"
|
||||
python_packages:
|
||||
python3:
|
||||
- python3
|
||||
- python3-devel
|
||||
python3.6:
|
||||
- python36
|
||||
- python36-devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user