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
|
- name: Converge
|
||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
yum_repositories:
|
python3_packages_extra:
|
||||||
epel:
|
- epel-release
|
||||||
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
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: xoxys.yum
|
|
||||||
- role: xoxys.python3
|
- 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:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
loop: "{{ python3_packages_extra + python3_packages | default(__python3_packages) }}"
|
||||||
- python36
|
|
||||||
|
|
||||||
- name: Check for installed pip3
|
- name: Check for installed pip3
|
||||||
stat:
|
stat:
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
__python3_packages:
|
||||||
|
- python36
|
||||||
__python3_link_bin_path: /usr/bin
|
__python3_link_bin_path: /usr/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user