Using the raw module to install python-simplejson

Ansible has very few dependencies; however, every managed node requires the python-simplejson package to be installed to allow full functionality. Luckily, Ansible has a raw module, which allows you to use Ansible in a limited fashion to manage nodes. Generally speaking, this should be used as a one-trick pony, using it to install python-simplejson, but it is worth keeping in mind if you ever need to perform the management of servers that might not be able to have this package installed for some reason.

Tip

An Ansible module is essentially a type of plugin that extends the functionality of Ansible. You can perform actions such as installing packages, restarting networks, and much more using modules. ...

Get Learning DevOps: Continuously Deliver Better Software 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.