Jeremy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
26 lines
No EOL
621 B
YAML
26 lines
No EOL
621 B
YAML
- name: LDAP packages are installed
|
|
ansible.builtin.apt:
|
|
name:
|
|
- slapd
|
|
- ldap-utils
|
|
- ldapvi
|
|
- shelldap
|
|
state: present
|
|
update_cache: yes
|
|
|
|
- name: change slapd listen ip:port
|
|
ansible.builtin.lineinfile:
|
|
dest: /etc/default/slapd
|
|
regexp: 'SLAPD_SERVICES=.*'
|
|
line: "SLAPD_SERVICES=\"{{ ldap_listen }}\""
|
|
notify: restart slapd
|
|
|
|
- name: ldapvirc file
|
|
ansible.builtin.include: ldapvirc.yml
|
|
|
|
- name: nagios config file for LDAP
|
|
ansible.builtin.include: nagios.yml
|
|
|
|
- name: initialize database
|
|
ansible.builtin.include: init.yml
|
|
when: not root_ldapvirc_path.stat.exists |