The Ansible Commands

Before we move on to writing and executing more advanced playbooks, we are going to take a look at the inbuilt Ansible commands. Here, we will cover the usage of the set of commands that makes up Ansible. Towards the end of the chapter, we will also install a few third-party tools, one being an inventory grapher, which will let us visualize our hosts, and the second allows you to record your playbook runs.

The following topics will be covered in this chapter:

  • Inbuilt commands:
    • ansible
    • ansible-config
    • ansible-console
    • ansible-doc
    • ansible-inventory
    • ansible-vault
  • Third-party commands:
    • ansible-inventory-grapher
    • ara

Get Learn Ansible 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.