This commit is contained in:
parent
f794032576
commit
77a4dcbcc8
2
defaults/main.yml
Normal file
2
defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
python3_packages_extra: []
|
@ -2,14 +2,8 @@
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
yum_repositories:
|
||||
epel:
|
||||
filename: Extra-EPEL
|
||||
desc: Extra Packages for Enterprise Linux (EPEL)
|
||||
baseurl: "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/"
|
||||
gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/"
|
||||
enabled: True
|
||||
python3_packages_extra:
|
||||
- epel-release
|
||||
|
||||
roles:
|
||||
- role: xoxys.yum
|
||||
- role: xoxys.python3
|
||||
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
- src: https://gitea.rknet.org/ansible/xoxys.yum.git
|
||||
name: xoxys.yum
|
||||
scm: git
|
||||
version: master
|
@ -4,8 +4,7 @@
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- python36
|
||||
loop: "{{ python3_packages_extra + python3_packages | default(__python3_packages) }}"
|
||||
|
||||
- name: Check for installed pip3
|
||||
stat:
|
||||
|
@ -1,2 +1,4 @@
|
||||
---
|
||||
__python3_packages:
|
||||
- python36
|
||||
__python3_link_bin_path: /usr/bin
|
||||
|
Loading…
Reference in New Issue
Block a user