Open main menu

CDOT Wiki β

Changes

Ops535 ansible lab

565 bytes added, 22:18, 28 January 2021
Part 1: Installing Ansible on CentOS 8
</source>
: Take a look of all the available command line options for the "ansible" command. There are a lots of options when running Ansible. Let's move on to try a few simple ones.
 
: To get more detail information about the version of ansible installed on your system, try to following command:</source lang="python">
[rchan@host ~]$ ansible --version
ansible 2.9.17
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/rchan/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Aug 24 2020, 17:57:11) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
</source>
== Part 2: Sample runs for some of the Ad hoc commands ==
1,760
edits