Getting familiar with the Ansible framework
In this section, you will learn how the Ansible framework fits into IT operations. We will explain how to run Ansible for the first time. Once you understand this framework, you will be ready to start learning about more advanced concepts, such as creating and running playbooks with your own inventory.
In order to run Ansible’s ad hoc commands via an SSH connection from your Ansible control machine to multiple remote hosts, you need to ensure you have the latest Ansible version installed on the control host. Use the following command to confirm the latest Ansible version:
$ ansible --version ansible [core 2.15.0] (2.15 82b47c8d5c) last updated 2023/05/19 15:21:43 (GMT +000) config file = None configured module search path = ['/home/james/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/james/ansible-2.15/ansible/lib...