geerlingguy / geerlingguy/ansible-for-devops

Chapter 3: check log files - fix grep command

Open Beginner friendly
#550 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

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"
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the Chapter 3 log-files section containing the shown Ansible shell command and compare it with the corrected command in the issue. Update the example so the grep pattern and wc option match the proposed wording, then verify the rendered chapter shows the corrected command.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.