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

18 lines
536 B
YAML
Raw Normal View History

2023-11-06 15:53:45 +00:00
---
2023-12-19 14:55:30 +00:00
- hosts: '{{ ip_addr }}'
2023-11-06 15:53:45 +00:00
become: yes
become_method: sudo
gather_facts: no
tasks:
2024-02-15 16:42:58 +00:00
- 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
2023-11-06 15:53:45 +00:00
- name: "[CONFIG AUTOFS HOMES] Install and configure AUTOFS HOMES"
import_role:
2024-02-15 16:54:42 +00:00
name: config-autofs-homes
when: autofs-homes_enabled is defined and autofs-homes_enabled