Skip to content

Commit

Permalink
fix jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed Apr 11, 2024
1 parent eac6b85 commit 051d2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
- managed-entries
- pam-pass-through-auth
- name: Configure LDAP passthrough
ansible.builtin.command: 'dsconf -D "cn=Directory Manager" -w {{ ldap_admin_password }} ldap://{{ mailserver_domain }} plugin ldap-pass-through-auth add ldaps://{{ mailserver_domain }},dc={{ mailserver_domain | split('.') | join(',dc=') }}'
ansible.builtin.command: 'dsconf -D "cn=Directory Manager" -w {{ ldap_admin_password }} ldap://{{ mailserver_domain }} plugin ldap-pass-through-auth add ldaps://{{ mailserver_domain }},dc={{ mailserver_domain | split(".") | join(",dc=") }}'
no_log: true
register: add_ldap_passthrough
changed_when: add_ldap_passthrough.rc == 0 and 'already exists' in add_ldap_passthrough.stderr
Expand Down

0 comments on commit 051d2cf

Please sign in to comment.