feat: add test for Rocky Linux 8 #1
@ -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
|
- include_tasks: setup.yml
|
||||||
- import_tasks: tls.yml
|
- import_tasks: tls.yml
|
||||||
when: ldap_proxy_tls_enabled | bool
|
when: ldap_proxy_tls_enabled | bool
|
||||||
|
5
tasks/overwrites.yml
Normal file
5
tasks/overwrites.yml
Normal 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
|
@ -3,6 +3,7 @@
|
|||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
enablerepo: "{{ ldap_proxy_enablerepo }}"
|
||||||
state: present
|
state: present
|
||||||
loop:
|
loop:
|
||||||
- openldap-servers
|
- openldap-servers
|
||||||
|
3
vars/redhat-8.yml
Normal file
3
vars/redhat-8.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
___ldap_proxy_enablerepo:
|
||||||
|
- plus
|
Loading…
Reference in New Issue
Block a user