2024-02-12 09:31:30 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- hosts: '{{ ip_addr }}'
|
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
|
|
|
gather_facts: yes
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
2024-02-15 11:17:09 +00:00
|
|
|
- name: "[CONFIG CENTRALIZED AUTH] Comprobando si es necesario configurar centralized auth"
|
|
|
|
debug:
|
|
|
|
msg: "No es necesario configurar centralized auth en la máquina"
|
|
|
|
when: centralized-auth_enabled is not defined or not centralized-auth_enabled
|
|
|
|
|
2024-02-12 09:31:30 +00:00
|
|
|
- name: "[CONFIG CENTRALIZED AUTH] Config centralized auth"
|
|
|
|
import_role:
|
2024-02-15 16:59:13 +00:00
|
|
|
name: config-centralized-auth
|
|
|
|
when: centralized-auth_enabled is defined and centralized-auth_enabled
|