Preguntas y respuestas de entrevista mas solicitadas y pruebas en linea
Plataforma educativa para preparacion de entrevistas, pruebas en linea, tutoriales y practica en vivo

Desarrolla tus habilidades con rutas de aprendizaje enfocadas, examenes de practica y contenido listo para entrevistas.

WithoutBook reune preguntas de entrevista por tema, pruebas practicas en linea, tutoriales y guias comparativas en un espacio de aprendizaje responsivo.

Preparar entrevista

Examenes simulados

Poner como pagina de inicio

Guardar esta pagina en marcadores

Suscribirse con correo electronico

Ansible preguntas y respuestas de entrevista

Diferencias relacionadas

Ansible vs TerraformAnsible vs Puppet

Pregunta 16. What is the purpose of the 'register' keyword in Ansible?

The 'register' keyword is used to capture the output of a task and store it in a variable. This variable can be used later in the playbook.

Example:

register: result

Es util? Agregar comentario Ver comentarios
 

Pregunta 17. How can you limit the execution of Ansible tasks to a specific set of hosts?

You can use the '--limit' option followed by the pattern of hosts when running the 'ansible-playbook' command to limit the execution to specific hosts.

Example:

ansible-playbook site.yml --limit web_servers

Es util? Agregar comentario Ver comentarios
 

Pregunta 18. Explain Ansible dynamic inventories.

Dynamic inventories in Ansible are scripts or programs that generate inventory information dynamically. They are useful in dynamic or cloud environments.

Es util? Agregar comentario Ver comentarios
 

Pregunta 19. How can you use loops in Ansible playbooks?

Ansible supports loops using the 'with_items' keyword. It allows tasks to be repeated for each item in a list.

Example:

with_items:
  - item1
  - item2

Es util? Agregar comentario Ver comentarios
 

Pregunta 20. What is the purpose of the 'when' keyword in Ansible?

The 'when' keyword is a conditional statement in Ansible. It is used to execute a task based on a specified condition, improving playbook flexibility.

Example:

when: ansible_os_family == 'Debian'

Es util? Agregar comentario Ver comentarios
 

Lo mas util segun los usuarios:

Copyright © 2026, WithoutBook.