From 010d035c7bd209084cb3452cff3816dabecb2ebf Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 12 Feb 2022 12:08:02 +0100 Subject: [PATCH] fix enablerepo var --- defaults/main.yml | 4 ++-- tasks/main.yml | 1 + tasks/overwrites.yml | 2 +- vars/default.yml | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 vars/default.yml diff --git a/defaults/main.yml b/defaults/main.yml index 8ba4e6f..fc5aa7a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -21,8 +21,8 @@ ldap_proxy_loglevel: 0 ldap_proxy_acl_file: "{{ ldap_proxy_base_dir }}/slapd.access" ldap_proxy_acls: - access_to: - - '*' + - "*" access_by: - - '* read' + - "* read" ldap_proxy_custom_schemas: [] diff --git a/tasks/main.yml b/tasks/main.yml index b8d475f..49d195e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,7 @@ - "{{ ansible_lsb.id | default('') | lower }}.yml" - "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family | lower }}.yml" + - default.yml paths: - "vars" when: var_files diff --git a/tasks/overwrites.yml b/tasks/overwrites.yml index 12ffebe..d15bbd8 100644 --- a/tasks/overwrites.yml +++ b/tasks/overwrites.yml @@ -1,5 +1,5 @@ --- - name: Define ldap_proxy_enablerepo set_fact: - redis_packages: "{{ __ldap_proxy_enablerepo | list }}" + ldap_proxy_enablerepo: "{{ __ldap_proxy_enablerepo | list }}" when: ldap_proxy_enablerepo is not defined diff --git a/vars/default.yml b/vars/default.yml new file mode 100644 index 0000000..eb02bb7 --- /dev/null +++ b/vars/default.yml @@ -0,0 +1,2 @@ +--- +__ldap_proxy_enablerepo: []