diff --git a/tasks/perun_openldap_config.yml b/tasks/perun_openldap_config.yml index a8b1289..97a07be 100644 --- a/tasks/perun_openldap_config.yml +++ b/tasks/perun_openldap_config.yml @@ -134,9 +134,10 @@ - name: "set up limits for max open files for LS instance and display it" + when: perun_ldap_max_open_files_limits block: - name: "set soft open file limit for openldap user" - when: perun_ldap_max_open_files_limits + # when: perun_ldap_max_open_files_limits community.general.pam_limits: domain: openldap limit_type: soft @@ -145,7 +146,7 @@ register: soft_limit - name: "set hard open file limit for openldap user" - when: perun_ldap_max_open_files_limits + # when: perun_ldap_max_open_files_limits community.general.pam_limits: domain: openldap limit_type: hard @@ -154,7 +155,7 @@ register: hard_limit - name: "set system-wide open files limit" - when: perun_ldap_max_open_files_limits + # when: perun_ldap_max_open_files_limits ansible.posix.sysctl: name: fs.file-max value: "{{ perun_ldap_max_open_system_files_value }}" @@ -168,7 +169,7 @@ mode: '0755' - name: "add LimitNOFILE to systemd override configuration for slapd" - when: parun_ldap_max_open_files_limits + # when: parun_ldap_max_open_files_limits blockinfile: path: /etc/systemd/system/slapd.service.d/override.conf create: yes