vars with underscore
This commit is contained in:
parent
0c0022641e
commit
c5081ad350
|
@ -10,9 +10,9 @@
|
|||
- 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
|
||||
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
|
||||
when: autofs_homes_enabled is defined and autofs_homes_enabled
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG CENTRALIZED AUTH] Comprobando si es necesario configurar centralized auth"
|
||||
debug:
|
||||
msg: "No es necesario configurar centralized auth en la máquina"
|
||||
when: centralized-auth_enabled is not defined or not centralized-auth_enabled
|
||||
when: centralized_auth_enabled is not defined or not centralized_auth_enabled
|
||||
|
||||
- name: "[CONFIG CENTRALIZED AUTH] Config centralized auth"
|
||||
import_role:
|
||||
name: config-centralized-auth
|
||||
when: centralized-auth_enabled is defined and centralized-auth_enabled
|
||||
when: centralized_auth_enabled is defined and centralized_auth_enabled
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG HOT PLUG] Comprobando si es necesario configurar hot plug"
|
||||
debug:
|
||||
msg: "No es necesario configurar hot plug en la máquina"
|
||||
when: hot-plug_enabled is not defined or not hot-plug_enabled
|
||||
when: hot_plug_enabled is not defined or not hot_plug_enabled
|
||||
|
||||
- name: "[CONFIG HOT PLUG] Install and configure hot plug"
|
||||
import_role:
|
||||
name: config-hot-plug
|
||||
when: hot-plug_enabled is defined and hot-plug_enabled
|
||||
when: hot_plug_enabled is defined and hot_plug_enabled
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG NAGIOS NRPE] Comprobando si es necesario configurar nagios nrpe service "
|
||||
debug:
|
||||
msg: "No es necesario configurar nagios nrpe service en la máquina"
|
||||
when: nagios-nrpe_enabled is not defined or not nagios-nrpe_enabled
|
||||
when: nagios_nrpe_enabled is not defined or not nagios_nrpe_enabled
|
||||
|
||||
- name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
|
||||
import_role:
|
||||
name: config-nagios-nrpe
|
||||
when: nagios-nrpe_enabled is defined and nagios-nrpe_enabled
|
||||
when: nagios_nrpe_enabled is defined and nagios_nrpe_enabled
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG RELAYHOST SMTP] Comprobando si es necesario configurar relayhost smtp"
|
||||
debug:
|
||||
msg: "No es necesario configurar relayhost smtp en la máquina"
|
||||
when: relay-host_enabled is not defined or not relay-host_enabled
|
||||
when: relay_host_enabled is not defined or not relay_host_enabled
|
||||
|
||||
- name: "[CONFIG RELAYHOST SMTP] Config relayhost smtp"
|
||||
import_role:
|
||||
name: config-relayhost-smtp
|
||||
when: relay-host_enabled is defined and relay-host_enabled
|
||||
when: relay_host_enabled is defined and relay_host_enabled
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios"
|
||||
debug:
|
||||
msg: "No es necesario configurar repositorios en la máquina"
|
||||
when: repo-vn_enabled is not defined or not repo-vn_enabled
|
||||
when: repo_vn_enabled is not defined or not repo_vn_enabled
|
||||
|
||||
- name: "[CONFIG REPO VN] Add-repos-vn"
|
||||
import_role:
|
||||
name: config-repo-vn
|
||||
when: repo-vn_enabled is defined and repo-vn_enabled
|
||||
when: repo_vn_enabled is defined and repo_vn_enabled
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG SECURE GRUB] Comprobando si es necesario configurar secure grub"
|
||||
debug:
|
||||
msg: "No es necesario configurar secure grub en la máquina"
|
||||
when: secure-grub_enabled is not defined or not secure-grub_enabled
|
||||
when: secure_grub_enabled is not defined or not secure_grub_enabled
|
||||
|
||||
- name: "[CONFIG SECURE GRUB] configure secure grub"
|
||||
import_role:
|
||||
name: config-secure-grub
|
||||
when: secure-grub_enabled is defined and secure-grub_enabled
|
||||
when: secure_grub_enabled is defined and secure_grub_enabled
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG SERVER TYPE] Comprobando si es necesario instalar guest side"
|
||||
debug:
|
||||
msg: "No es necesario instalar guest side en la máquina"
|
||||
when: server-type_enabled is not defined or not server-type_enabled
|
||||
when: server_type_enabled is not defined or not server_type_enabled
|
||||
|
||||
- name: "[CONFIG SERVER TYPE] Install guest side"
|
||||
import_role:
|
||||
name: config-server-type
|
||||
when: server-type_enabled is defined and server-type_enabled
|
||||
when: server_type_enabled is defined and server_type_enabled
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG VIM OPTIONS] Comprobando si es necesario configurar vim options"
|
||||
debug:
|
||||
msg: "No es necesario configurar vim options en la máquina"
|
||||
when: vim-options_enabled is not defined or not vim-options_enabled
|
||||
when: vim_options_enabled is not defined or not vim_options_enabled
|
||||
|
||||
- name: "[CONFIG VIM OPTIONS] Config vim options"
|
||||
import_role:
|
||||
name: config-vim-options
|
||||
when: vim-options_enabled is defined and vim-options_enabled
|
||||
when: vim_options_enabled is defined and vim_options_enabled
|
|
@ -10,9 +10,9 @@
|
|||
- name: "[CONFIG ZABBIX AGENT] Comprobando si es necesario configurar ZABBIX AGENT"
|
||||
debug:
|
||||
msg: "No es necesario configurar ZABBIX AGENT en la máquina"
|
||||
when: zabbix-agent_enabled is not defined or not zabbix-agent_enabled
|
||||
when: zabbix_agent_enabled is not defined or not zabbix_agent_enabled
|
||||
|
||||
- name: "[CONFIG ZABBIX AGENT] Install and configure ZABBIX AGENT"
|
||||
import_role:
|
||||
name: config-zabbix-agent
|
||||
when: zabbix-agent_enabled is defined and zabbix-agent_enabled
|
||||
when: zabbix_agent_enabled is defined and zabbix_agent_enabled
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- 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
|
||||
when: autofs_homes_enabled is not defined or not autofs_homes_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# install packages nfs-common , autofs , libnfs-utils , autofs-ldap
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG CENTRALIZED AUTH] Comprobando si es necesario configurar centralized auth"
|
||||
meta: end_host
|
||||
when: centralized-auth_enabled is not defined or not centralized-auth_enabled
|
||||
when: centralized_auth_enabled is not defined or not centralized_auth_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# configure centralized authentication [nslcd]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG HOT PLUG] Comprobando si es necesario configurar hot plug"
|
||||
meta: end_host
|
||||
when: hot-plug_enabled is not defined or not hot-plug_enabled
|
||||
when: hot_plug_enabled is not defined or not hot_plug_enabled
|
||||
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Install and configure HOT-PLUG
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- name: "[CONFIG NAGIOS NRPE] Comprobando si es necesario configurar nagios nrpe service "
|
||||
meta: end_host
|
||||
when: nagios-nrpe_enabled is not defined or not nagios-nrpe_enabled
|
||||
when: nagios_nrpe_enabled is not defined or not nagios_nrpe_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# paso1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG RELAYHOST SMTP] Comprobando si es necesario configurar relayhost smtp"
|
||||
meta: end_host
|
||||
when: relay-host_enabled is not defined or not relay-host_enabled
|
||||
when: relay_host_enabled is not defined or not relay_host_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Reconfigure relayhost smtp to smtp.verdnatura.es
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios"
|
||||
meta: end_host
|
||||
when: repo-vn_enabled is not defined or not repo-vn_enabled
|
||||
when: repo_vn_enabled is not defined or not repo_vn_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# SE OBVIA , ACTUALMENTE SE INSTALA PACKAGE DEB INSTALA gpg.key + REPOS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG SECURE GRUB] Comprobando si es necesario configurar secure grub"
|
||||
meta: end_host
|
||||
when: secure-grub_enabled is not defined or not secure-grub_enabled
|
||||
when: secure_grub_enabled is not defined or not secure_grub_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Secure GRUB edition with password
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- name: "[CONFIG SERVER TYPE] Comprobando si es necesario instalar guest side"
|
||||
meta: end_host
|
||||
when: server-type_enabled is not defined or not server-type_enabled
|
||||
when: server_type_enabled is not defined or not server_type_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# paso1 - Install guest-side qemu-system agent
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
- 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
|
||||
when: vim_options_enabled is not defined or not vim_options_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Enable VIM options
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- name: "[CONFIG ZABBIX AGENT] Comprobando si es necesario configurar ZABBIX AGENT"
|
||||
meta: end_host
|
||||
when: zabbix-agent_enabled is not defined or not zabbix-agent_enabled
|
||||
when: zabbix_agent_enabled is not defined or not zabbix_agent_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# Paso1
|
||||
|
|
Loading…
Reference in New Issue