© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
B. Choi, E. MedinaIntroduction to Ansible Network Automationhttps://doi.org/10.1007/978-1-4842-9624-0_8

8. Learning Ansible Basic Concepts II: Using when, Improving Playbook, and Targeting Nodes

Brendan Choi1   and Erwin Medina1
(1)
Sydney, NSW, Australia
 

In this chapter, we will delve deeper into the basics of Ansible by exploring topics such as improving your playbook, using when conditionals, and targeting specific nodes. We will first review the considerations you should make before writing your Ansible playbooks, such as understanding idempotency, familiarizing yourself with Ansible error messages, and using the verbose mode to gain more information about ...

Get Introduction to Ansible Network Automation: A Practical Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.