--- # Установка Keycloak (Docker) - name: Install Keycloak (Docker) hosts: cw-sya-iam-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: keycloak_install_docker when: ansible_distribution == "Ubuntu"