feat: add test for Rocky Linux 8 #1

Merged
xoxys merged 2 commits from test-rocky8 into master 2022-02-12 12:53:04 +00:00
4 changed files with 25 additions and 5 deletions
Showing only changes of commit def983841b - Show all commits

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: prepare.yml
- import_tasks: install.yml - import_tasks: install.yml
- import_tasks: tls.yml - import_tasks: tls.yml

View File

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