-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
The Problem
On the top of page 8 you give the following command: ansible example -a "free -m" -u [username]. The text below it states:
"In this example, we quickly see memory usage (in a human readable format) on all the servers (for now, just one) in the example group."
Below is the output of the command in my environment:

To my eye, the output does not appear to be human-readable.
The Solution
For the command output to be human-readable, I believe you have the wrong flag and instead the command should be the following: ansible example -a "free -h" -u [username]. Below is the output of the above command:

Also, I'm not sure if you care about this or not, but grammatically "human readable" might need to be changed to "human-readable" (or at least says Grammarly lol).
My Setup
I am using version 1.21 of the book and version 2.9.6 of ansible. I have a Ubuntu 18.04 Desktop and Ubuntu 18.04 Server VM setup for testing.