...

/

Exercise: Fixing Errors in the Playbook

Exercise: Fixing Errors in the Playbook

Fix the playbook to read the local mounts file using Ansible.

We'll cover the following...

Task

The /proc/mounts is a virtual file that displays the currently mounted filesystems in a Linux system. We want to access the file and display its contents on the screen.

Explanation

In this exercise, you are provided with code to read the content of the text file named mounts in the /proc/ directory using Ansible. ...