Fix some ansible-lint complaints.

This commit is contained in:
Andreas B. Mundt 2022-06-11 12:42:02 +02:00 committed by Andreas B. Mundt
parent c7030c9245
commit 2cf34e8e55
64 changed files with 357 additions and 297 deletions

View file

@ -1,6 +1,7 @@
## Install and configure slapd.
---
- fail: msg="The machine's domain must not be empty."
- name: check if domain name is available
fail: msg="The machine's domain must not be empty."
when: ansible_domain | length == 0
- name: check if slapd is already set up
@ -87,6 +88,6 @@
firewalld:
zone: internal
service: ldap
permanent: yes
immediate: yes
permanent: true
immediate: true
state: enabled