playbook execution
6 Ansible tutorials tagged “playbook execution”. Working examples covering automation, configuration management, and DevOps workflows.
Ansible ignore_errors — Best Practices
playbooks · 8
Use ignore_errors, failed_when, and block/rescue in Ansible playbooks. Best practices to handle failures without masking real problems.
Using Ansible Tree Callback: Save Host Events to Files Easily
playbooks · 3
Discover how to use the Ansible Tree callback to save host events to JSON files. Enhance your logging and auditing with this powerful feature introduced.
Ansible troubleshooting — Error no-prompting
playbooks · 3
Here's an example of problematic code in an Ansible playbook, including user prompts and a 5-minute pause, which violates best practices and can be.
Ansible troubleshooting — Error no-same-owner
playbooks · 4
Learn to avoid pitfalls with Ansible no-same-owner rule, crucial for preventing unintended owner and group mismatches in file transfers.
Output Ansible Playbooks as YAML with Callback Plugin
playbooks · 3
Learn how to use Ansible ping module to test connections and customize output with callback plugins, demonstrated with a detailed playbook.
How to Pass Variables to Ansible Playbook via Command Line?
playbooks · 3
How to pass or override an Ansible Playbook variable from the command line in plaintext, JSON, or YAML. It is very useful to combine some script.