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

17 lines
485 B
YAML

---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: yes
tasks:
- 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
- name: "[CONFIG CENTRALIZED AUTH] Config centralized auth"
import_role:
name: config-centralized-auth