Skip to content

Commit c1f3b7e

Browse files
dkrucesmcgrof
authored andcommitted
docs: remove deprecated -i hosts pattern from CLAUDE.md example
The example ansible command was using the deprecated explicit inventory pattern "-i hosts" instead of relying on ansible.cfg configuration. This updates the documentation to show the correct pattern that leverages the configured inventory file. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
1 parent e6f88e0 commit c1f3b7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Device Under Test (DUT) systems.
3030
- **ALWAYS** verify that test systems are running and accessible before analysis
3131

3232
### Valid approaches:
33-
- ✅ Execute real tests: `ansible -i hosts all -m shell -a "fio --output-format=json ..."`
33+
- ✅ Execute real tests: `ansible all -m shell -a "fio --output-format=json ..."`
3434
- ✅ Collect actual JSON output from running VMs
3535
- ✅ Parse and analyze real performance data from live systems
3636
- ✅ Generate graphs and reports from actual test execution results

docs/reboot-limit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Enable verbose output for troubleshooting:
176176
make reboot-limit-baseline AV=3
177177

178178
# Check individual node status
179-
ansible -i hosts all -m shell -a "cat /data/reboot-limit/*/reboot-count.txt"
179+
ansible baseline:dev:service -m shell -a "cat /data/reboot-limit/*/reboot-count.txt"
180180
```
181181

182182
## Interpreting Performance Data

0 commit comments

Comments
 (0)