Skip to content

Commit

Permalink
Fix schema reload (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvps committed Oct 11, 2021
1 parent 8b151c4 commit f907ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
cn: ansible-managed schema reload
schemadir: "/etc/dirsrv/slapd-{{ dirsrv_serverid }}/schema/"
state: present
when: "not dirsrv_restart_condition_has_restarted and (\
when: "not dirsrv_restart_condition_has_restarted|default(false) and (\
(dirsrv_restart_condition_schema_reload_1 is defined and dirsrv_restart_condition_schema_reload_1.changed) or\
(dirsrv_restart_condition_schema_reload_2 is defined and dirsrv_restart_condition_schema_reload_2.changed)\
)"
Expand Down

0 comments on commit f907ef5

Please sign in to comment.