Skip to content

Commit

Permalink
only apply custom schema if list present, proposed by @ds-04 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur committed Dec 11, 2024
1 parent 2cd5484 commit 87e7e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
owner: "{{ ldaptoolbox_openldap_configuration_owner }}"
group: "{{ ldaptoolbox_openldap_configuration_group }}"
loop: "{{ ldaptoolbox_openldap_custom_schema_list }}"
when: ldaptoolbox_openldap_custom_schema_list is defined

- name: load config from file
ansible.builtin.shell: "{{ ldaptoolbox_openldap_slapd_cli_cmd }} restoreconfig"
Expand Down

0 comments on commit 87e7e53

Please sign in to comment.