You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chapter 3 at the section Check log files the command for printing how many Ansible commands have been executed on each server uses tail instead of cat.
I think the line should be ansible multi -b -m shell -a "cat /var/log/messages | \ grep ansible-command | wc -l"
instead of ansible multi -b -m shell -a "tail /var/log/messages | \ grep ansible-command | wc -l"
as description says
This command shows how many ansible commands have been run on each server
(the numbers you get may be different).
and the tail command as I now only print the last 5 lines by default.
The line could also be different according to issue #550
Thank you for awesome book Jeff!
The text was updated successfully, but these errors were encountered:
In chapter 3 at the section Check log files the command for printing how many Ansible commands have been executed on each server uses tail instead of cat.
I think the line should be
ansible multi -b -m shell -a "cat /var/log/messages | \ grep ansible-command | wc -l"
instead of
ansible multi -b -m shell -a "tail /var/log/messages | \ grep ansible-command | wc -l"
as description says
and the
tail
command as I now only print the last 5 lines by default.The line could also be different according to issue #550
Thank you for awesome book Jeff!
The text was updated successfully, but these errors were encountered: