vn-ansible/linux-config-autofs-homes.yaml

18 lines
536 B
YAML

---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "[CONFIG AUTOFS HOMES] Comprobando si es necesario configurar AUTOFS HOMES"
debug:
msg: "No es necesario configurar AUTOFS HOMES en la máquina"
when: autofs-homes_enabled is not defined or not autofs-homes_enabled
- name: "[CONFIG AUTOFS HOMES] Install and configure AUTOFS HOMES"
import_role:
name: config-autofs-homes
when: autofs-homes_enabled is defined and autofs-homes_enabled