cw-infra-apps/compose/playbooks/openldap_server/main.yml
2025-05-28 10:01:42 +03:00

19 lines
492 B
YAML

---
# Установка OpenLDAP (Docker)
- name: Install OpenLDAP (Docker)
hosts: cw-sya-ldap-001
gather_facts: true
become: true
vars_files:
- vars/base_conf.yml
- vars/secret.yml
- defaults/main.yml
pre_tasks:
- import_tasks: tasks/check_os_version.yml
roles:
- role: docker_install
when: ansible_distribution == "Ubuntu" and docker_install == "yes"
- role: openldap_install_docker
when: ansible_distribution == "Ubuntu"