feat: add test for Rocky Linux 8 #1
@ -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
|
||||||
|
@ -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
6
vars/redhat-7.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
__unifi_deps:
|
||||||
|
- "java-{{ unifi_openjdk_version }}-openjdk"
|
||||||
|
- unzip
|
||||||
|
- wget
|
||||||
|
- pyOpenSSL
|
6
vars/redhat-8.yml
Normal file
6
vars/redhat-8.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
__unifi_deps:
|
||||||
|
- "java-{{ unifi_openjdk_version }}-openjdk"
|
||||||
|
- unzip
|
||||||
|
- wget
|
||||||
|
- python3-pyOpenSSL
|
Loading…
Reference in New Issue
Block a user