dhcpd: Check that LDAP filter is not empty
This commit is contained in:
parent
43cde5d884
commit
782d504aba
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@
|
|||
server_uri: "ldaps://{{ ldap_server[0] }}"
|
||||
delegate_to: localhost
|
||||
register: ldap_hosts
|
||||
when: dhcpd_ldap_filter is defined
|
||||
when:
|
||||
- dhcpd_ldap_filter is defined
|
||||
- dhcpd_ldap_filter != ""
|
||||
|
||||
- name: Create config
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue