add conditional
This commit is contained in:
parent
0c3e23f781
commit
092fdd1fcb
|
@ -7,6 +7,11 @@
|
|||
|
||||
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
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
|
||||
- name: "[CONFIG AUTOFS HOMES] Comprobando si es necesario configurar AUTOFS HOMES"
|
||||
meta: end_host
|
||||
when: autofs-homes_enabled is not defined or not autofs-homes_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# install packages nfs-common , autofs , libnfs-utils , autofs-ldap
|
||||
- name: install packages for autofs
|
||||
|
|
Loading…
Reference in New Issue