add conditional
This commit is contained in:
parent
25a051430d
commit
c452e88322
|
@ -7,6 +7,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: "[CONFIG MOTD] Comprobando si es necesario configurar motd"
|
||||
debug:
|
||||
msg: "No es necesario configurar motd en la máquina"
|
||||
when: motd_enabled is not defined or not motd_enabled
|
||||
|
||||
- name: "[CONFIG MOTD] Config motd"
|
||||
import_role:
|
||||
name: config-motd
|
|
@ -1,3 +1,8 @@
|
|||
|
||||
- name: "[CONFIG VIM OPTIONS] Comprobando si es necesario configurar vim options"
|
||||
meta: end_host
|
||||
when: vim-options_enabled is not defined or not vim-options_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Enable VIM options
|
||||
# step1 - create file vimrc.local
|
||||
|
|
Loading…
Reference in New Issue