Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book Errata: Page 8, "ansible example -a "free -m" -u [username]" command #217

Closed
ew0k opened this issue Mar 18, 2020 · 1 comment
Closed

Book Errata: Page 8, "ansible example -a "free -m" -u [username]" command #217

ew0k opened this issue Mar 18, 2020 · 1 comment

Comments

@ew0k
Copy link

@ew0k ew0k commented Mar 18, 2020

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:
image
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:
image
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.

@ew0k ew0k changed the title Errata: Page 8, "ansible example -a "free -m" -u [username]" command Book Errata: Page 8, "ansible example -a "free -m" -u [username]" command Mar 18, 2020
@geerlingguy

This comment has been minimized.

Copy link
Owner

@geerlingguy geerlingguy commented Mar 20, 2020

Thanks for the detailed issue! You're correct on both counts, and I'll have these fixed up in the next batch of updates for the book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.