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

Chapter 3: check log files - fix grep command #550

Open
cshintov opened this issue Jul 5, 2023 · 2 comments
Open

Chapter 3: check log files - fix grep command #550

cshintov opened this issue Jul 5, 2023 · 2 comments
Labels

Comments

@cshintov
Copy link

cshintov commented Jul 5, 2023

Instead of

$ ansible multi -b -m shell -a "tail /var/log/messages | grep ansible-command | wc - l"

I think it should be

$ ansible multi -b -m shell -a "tail /var/log/messages | grep ansible.legacy.command | wc -l"
@geerlingguy geerlingguy added the bug label Jul 7, 2023
@geerlingguy
Copy link
Owner

Correct, thanks for finding and reporting this!

@cshintov
Copy link
Author

cshintov commented Jul 8, 2023

Thanks for the book. Just started learning Ansible, really enjoying going through the book and doing the exercises.

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

No branches or pull requests

2 participants