
Ansible: Register – store and display output of a command
At times we may want to run certain command in the managed nodes, and would like to see the output to verify if the command […]
At times we may want to run certain command in the managed nodes, and would like to see the output to verify if the command […]
While ansible runs playbook on group of managed nodes which are also present in the Inventory file, we can run tasks on selected nodes based […]
Roles is a feature provided by Ansible were once a standardized directory structure is created, you can automatically load related vars, files, tasks, handlers, and other […]
The include_tasks module imports a list of tasks to the current playbook for execution. It is one way for organizing tasks in separate files and […]
While the copy module helps to copy a file from the controller node to managed nodes, the fetch module helps to retrieve files from a managed […]
Usually the Handlers work with a single task. However the “blocks” feature in Ansible helps us to group multiple tasks under one block section and […]
Do not misunderstand the concept error handling in this document with error handling in usual software programming terminology. Usually when one writes a program, a […]
At times when certain tasks are executed by a playbook, it may be desired to run certain other task immediately. However, if the first task did […]
At times one may want to run certain tasks or command only if certain conditions are met. For example add a user called “RedhatUser01” only […]
At times you may want to execute a single tasks with multiple variable values one after the other. For example create 3 user accounts using […]
Copyright © 2025 | WordPress Theme by MH Themes