feat: add test for Rocky Linux 8 #1

Merged
xoxys merged 5 commits from test-rocky8 into master 2022-02-12 12:34:44 +00:00
4 changed files with 22 additions and 0 deletions
Showing only changes of commit 372cc1d23f - Show all commits

View File

@ -1,4 +1,17 @@
---
- 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
- include_tasks: overwrites.yml
- include_tasks: setup.yml
- import_tasks: tls.yml
when: ldap_proxy_tls_enabled | bool

5
tasks/overwrites.yml Normal file
View File

@ -0,0 +1,5 @@
---
- name: Define ldap_proxy_enablerepo
set_fact:
redis_packages: "{{ __ldap_proxy_enablerepo | list }}"
when: ldap_proxy_enablerepo is not defined

View File

@ -3,6 +3,7 @@
- name: Install required packages
package:
name: "{{ item }}"
enablerepo: "{{ ldap_proxy_enablerepo }}"
state: present
loop:
- openldap-servers

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

@ -0,0 +1,3 @@
---
___ldap_proxy_enablerepo:
- plus