with underscore

This commit is contained in:
Ruben Blanco 2024-02-15 18:37:19 +01:00
parent c1c1f67387
commit 0c0022641e
2 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@
- name: "[CONFIG ROOT USER] Comprobando si es necesario configurar SSH root user" - name: "[CONFIG ROOT USER] Comprobando si es necesario configurar SSH root user"
debug: debug:
msg: "No es necesario configurar SSH root user en la máquina" msg: "No es necesario configurar SSH root user en la máquina"
when: root-user_enabled is not defined or not root-user_enabled when: root_user_enabled is not defined or not root_user_enabled
- name: "[CONFIG ROOT USER] Configure SSH root user" - name: "[CONFIG ROOT USER] Configure SSH root user"
import_role: import_role:
name: config-root-user name: config-root-user
when: root-user_enabled is defined and root-user_enabled when: root_user_enabled is defined and root_user_enabled

View File

@ -2,7 +2,7 @@
- name: "[CONFIG ROOT USER] Comprobando si es necesario configurar SSH root user" - name: "[CONFIG ROOT USER] Comprobando si es necesario configurar SSH root user"
meta: end_host meta: end_host
when: root-user_enabled is not defined or not root-user_enabled when: root_user_enabled is not defined or not root_user_enabled
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# delete default user , only on VM # delete default user , only on VM