vn-ansible/linux-config-centralized-au...

18 lines
562 B
YAML
Raw Normal View History

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"
2024-02-15 17:50:53 +00:00
when: centralized_auth_enabled is not defined or not centralized_auth_enabled
2024-02-15 11:17:09 +00:00
2024-02-12 09:31:30 +00:00
- name: "[CONFIG CENTRALIZED AUTH] Config centralized auth"
import_role:
name: config-centralized-auth
2024-02-15 17:50:53 +00:00
when: centralized_auth_enabled is defined and centralized_auth_enabled