public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: Daniel Gomez <da.gomez@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>,
	 Chuck Lever <chuck.lever@oracle.com>
Cc: kdevops@lists.linux.dev, Daniel Gomez <da.gomez@samsung.com>
Subject: [PATCH 3/4] docs: remove deprecated -i hosts pattern from CLAUDE.md example
Date: Wed, 17 Sep 2025 10:32:38 +0200	[thread overview]
Message-ID: <20250917-fix-groups-v1-3-d6cd940f8b6e@samsung.com> (raw)
In-Reply-To: <20250917-fix-groups-v1-0-d6cd940f8b6e@samsung.com>

From: Daniel Gomez <da.gomez@samsung.com>

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 <da.gomez@samsung.com>
---
 CLAUDE.md            | 2 +-
 docs/reboot-limit.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CLAUDE.md b/CLAUDE.md
index c7b33b66..ef1d6fcc 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -30,7 +30,7 @@ Device Under Test (DUT) systems.
 - **ALWAYS** verify that test systems are running and accessible before analysis
 
 ### Valid approaches:
-- ✅ Execute real tests: `ansible -i hosts all -m shell -a "fio --output-format=json ..."`
+- ✅ Execute real tests: `ansible all -m shell -a "fio --output-format=json ..."`
 - ✅ Collect actual JSON output from running VMs
 - ✅ Parse and analyze real performance data from live systems
 - ✅ Generate graphs and reports from actual test execution results
diff --git a/docs/reboot-limit.md b/docs/reboot-limit.md
index e9f9efe9..305d9ade 100644
--- a/docs/reboot-limit.md
+++ b/docs/reboot-limit.md
@@ -176,7 +176,7 @@ Enable verbose output for troubleshooting:
 make reboot-limit-baseline AV=3
 
 # Check individual node status
-ansible -i hosts all -m shell -a "cat /data/reboot-limit/*/reboot-count.txt"
+ansible baseline:dev:service -m shell -a "cat /data/reboot-limit/*/reboot-count.txt"
 ```
 
 ## Interpreting Performance Data

-- 
2.50.1


  parent reply	other threads:[~2025-09-17  8:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-17  8:32 [PATCH 0/4] Fix inconsistent ansible-playbook patterns across kdevops Daniel Gomez
2025-09-17  8:32 ` [PATCH 1/4] workflows: linux: remove explicit inventory in ansible wrappers Daniel Gomez
2025-09-17  8:32 ` [PATCH 2/4] workflows: fix inconsistent ansible-playbook patterns and invalid host groups Daniel Gomez
2025-09-17  8:32 ` Daniel Gomez [this message]
2025-09-17  8:32 ` [PATCH 4/4] terraform: remove redundant ansible inventory and connection overrides Daniel Gomez
2025-09-17 14:28 ` [PATCH 0/4] Fix inconsistent ansible-playbook patterns across kdevops Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250917-fix-groups-v1-3-d6cd940f8b6e@samsung.com \
    --to=da.gomez@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=da.gomez@samsung.com \
    --cc=kdevops@lists.linux.dev \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox