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
ghost opened this issue Mar 18, 2020 · 1 comment
Closed

Comments

@ghost
Copy link

ghost 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.

@ghost ghost 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
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant