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"
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:
name: config-centralized-auth
when: centralized-auth_enabled is defined and centralized-auth_enabled