when
3 Ansible tutorials tagged “when”. Working examples covering automation, configuration management, and DevOps workflows.
Ansible when — Conditional Tasks
playbooks · 5
Control task execution with Ansible when conditional. Test facts, variables, registered results, and combine multiple conditions with and/or logic.
Ansible troubleshooting — Error: no-jinja-when
playbooks · 6
Fix Ansible Lint no-jinja-when — why you should not use {{ }} in when clauses and how to write correct conditionals. Tested, copy-paste examples included.
Comparing versions — ansible.builtin.version plugin
playbooks · 4
Using Ansible to compare versions and ensure consistency across your infrastructure with the ansible.builtin.version plugin.