How to do it...

First, we're going to just check the version of Ansible that we've got installed:

$ ansible --versionansible  config file = /etc/ansible/ansible.cfg  configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/lib/python2.7/site-packages/ansible  executable location = /usr/bin/ansible  python version = 2.7.5 (default, Apr 11 2018, 07:36:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

This is version

As with a lot of packages from the standard repositories, they tend to be a stable (older) version. If you wanted to, it's also possible to install pip (covered in Chapter 11, Web Servers, Databases, and Mail Servers) and use ...

Get Linux Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.