enabled plus repo on rh-8
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Robert Kaussow 2022-02-12 11:58:30 +01:00
parent 4a0780c3aa
commit 372cc1d23f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 22 additions and 0 deletions

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 - 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
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 - 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
View File

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