-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding new 1.8 troubleshoot and spanish translation #2085
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! A few suggestions for clarity around code blocks and minor details for the Spanish readme.
|
||
### Paso 2 - Utilizando el Módulo de Depuración | ||
|
||
El módulo debug es una herramienta simple pero poderosa para imprimir los valores de las variables, lo cual puede ser instrumental para entender el flujo de ejecución del playbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code block debug to differentiate it from depuración:
El módulo debug
es...
|
||
### Paso 3 - Manejo de Errores con Bloques | ||
|
||
Ansible permite agrupar tareas usando block y manejar errores con secciones de rescate, similar a try-catch en la programación tradicional. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tareas usando block
y
|
||
El módulo debug es una herramienta simple pero poderosa para imprimir los valores de las variables, lo cual puede ser instrumental para entender el flujo de ejecución del playbook. | ||
|
||
En este ejemplo, añade tareas de depuración a tu rol de Apache en el `tasks/main.yml` para mostrar el valor de las variables o mensajes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
en el archivo tasks/main.yml
|
||
### Paso 4 - Ejecución en Modo Verbose | ||
|
||
El modo verbose de Ansible (-v, -vv, -vvv, o -vvvv) aumenta el detalle de la salida, proporcionando más información sobre la ejecución del playbook y problemas potenciales. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(-v
, -vv
, -vvv
, o -vvvv
)
apache_conf_src: "files/missing_apache.conf" | ||
``` | ||
|
||
> NOTA: Este archivo explícitamente no existe para que podamos activar la sección de rescate de nuestro `tasks/main.yml` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTA: El archivo (files/missing_apache.conf
) no existe intencionalmente para que podamos activar la sección de rescate de nuestro tasks/main.yml
. No debe ser creado.
|
||
### Step 2 - Utilizing the Debug Module | ||
|
||
The debug module is a simple yet powerful tool for printing variable values, which can be instrumental in understanding playbook execution flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug
|
||
### Paso 3 - Manejo de Errores con Bloques | ||
|
||
Ansible permite agrupar tareas usando block y manejar errores con secciones de rescate, similar a try-catch en la programación tradicional. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
de rescate usando rescue
, similar ...
|
||
### Step 3 - Error Handling with Blocks | ||
|
||
Ansible allows grouping tasks using block and handling errors with rescue sections, similar to try-catch in traditional programming. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using block
and handling errors with rescue
sections
SUMMARY
New troubleshoot section 1.8 and spanish translation
ISSUE TYPE
COMPONENT NAME