fix rh-8 dependencies
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2022-02-12 13:46:59 +01:00
parent c00ab577df
commit def983841b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 25 additions and 5 deletions

View File

@ -1,4 +1,16 @@
---
- include_vars: "{{ var_files }}"
vars:
var_files: "{{ lookup('first_found', params, errors='ignore') }}"
params:
files:
- "{{ ansible_lsb.id | default('') | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family | lower }}.yml"
paths:
- "vars"
when: var_files
- import_tasks: prepare.yml
- import_tasks: install.yml
- import_tasks: tls.yml

View File

@ -11,11 +11,7 @@
package:
name: "{{ item }}"
state: present
loop:
- "java-{{ unifi_openjdk_version }}-openjdk"
- unzip
- wget
- pyOpenSSL
loop: "{{ __unifi_deps }}"
- name: Create group '{{ unifi_group }}'
group:

6
vars/redhat-7.yml Normal file
View File

@ -0,0 +1,6 @@
---
__unifi_deps:
- "java-{{ unifi_openjdk_version }}-openjdk"
- unzip
- wget
- pyOpenSSL

6
vars/redhat-8.yml Normal file
View File

@ -0,0 +1,6 @@
---
__unifi_deps:
- "java-{{ unifi_openjdk_version }}-openjdk"
- unzip
- wget
- python3-pyOpenSSL