Auditing
One of the risks of running Ansible on the command line is that once a particular task has been run, its output is lost forever. It is, of course, possible to turn on logging for Ansible; but in an enterprise, this would need to be enforced, and this would be difficult with lots of operators having root access to a given Ansible machine, be it their own laptop or a server somewhere. Thankfully, as we saw in our earlier example, AWX stores not only the details of who ran what tasks and when, but also stores all the output from the ansible-playbook tasks. In this way, compliance and auditability are achieved for enterprises wishing to use Ansible.
Simply navigate to the Jobs menu item, and a list of all previously run jobs (that the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access