This chapter covers data and data types used in Ansible. It begins by explaining what data is and its relationship with Ansible, followed by discussing Ansible’s dependency on Python data types and providing examples of basic Python data types. The chapter then delves into Ansible configuration files, including Ansible inventory in INI, JSON, and YAML formats, inventory priority, and the ansible.cfg file. It also provides YAML examples to ...
5. Understanding Data Types and File Formats for Ansible
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.