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

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

View File

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