Skip to content
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

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

rlopez133
Copy link
Contributor

SUMMARY

New troubleshoot section 1.8 and spanish translation

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME
  • docs

Copy link

@leogallego leogallego left a 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.

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.

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.

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.

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`

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.

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.

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.

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

@rlopez133 rlopez133 merged commit ac2d0bf into ansible:devel Feb 7, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants