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"
2024-02-15 17:50:53 +00:00
when: autofs_homes_enabled is not defined or not autofs_homes_enabled
2024-02-15 16:42:58 +00:00
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
2024-02-15 17:50:53 +00:00
when: autofs_homes_enabled is defined and autofs_homes_enabled