fix dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-13 09:20:33 +02:00
parent f794032576
commit 77a4dcbcc8
5 changed files with 7 additions and 15 deletions

2
defaults/main.yml Normal file
View File

@ -0,0 +1,2 @@
---
python3_packages_extra: []

View File

@ -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

View File

@ -1,5 +0,0 @@
---
- src: https://gitea.rknet.org/ansible/xoxys.yum.git
name: xoxys.yum
scm: git
version: master

View File

@ -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:

View File

@ -1,2 +1,4 @@
---
__python3_packages:
- python36
__python3_link_bin_path: /usr/bin