Skip to content

Fix inconsistent ansible-playbook patterns across kdevops

Daniel Gomez kdevops 1 version Applied

Status from this message: Thanks, applied and pushed!

Get series with b4
b4 am [email protected] change-id 20250917-fix-groups-d59935f3ff3c

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4workflows: linux: remove explicit inventory in ansible wrappersworkflows/linux/Makefile+11 -80 replies
2/4workflows: fix inconsistent ansible-playbook patterns and invalid host groupsplaybooks/ai_benchmark.yml playbooks/ai_destroy.yml playbooks/ai_install.yml +7 more+18 -320 replies
3/4docs: remove deprecated -i hosts pattern from CLAUDE.md exampleCLAUDE.md docs/reboot-limit.md+2 -20 replies
4/4terraform: remove redundant ansible inventory and connection overridesplaybooks/gen_tfvars.yml playbooks/terraform.yml scripts/terraform.Makefile+1 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fix inconsistent ansible-playbook patterns across kdevops

This series fixes inconsistent ansible-playbook invocation patterns that were introduced during recent A/B testing development work. The changes standardize how kdevops uses Ansible by properly leveraging ansible.cfg configuration and playbook host declarations instead of explicit CLI overrides.

Key improvements:
* Remove invalid custom host groups (ai, minio) and use standard kdevops groups
* Eliminate redundant -i hosts and --inventory CLI arguments
* Remove unnecessary connection: local and -f fork parameters
* Fix documentation examples to show correct patterns

The result is cleaner, more maintainable ansible invocations that follow established kdevops architectural patterns.

Sending this for review, specifically the terraform part (last patch).

---
Daniel Gomez (4):
workflows: linux: remove explicit inventory in ansible wrappers
workflows: fix inconsistent ansible-playbook patterns and invalid host groups
docs: remove deprecated -i hosts pattern from CLAUDE.md example
terraform: remove redundant ansible inventory and connection overrides

 CLAUDE.md                  |  2 +-
 docs/reboot-limit.md       |  2 +-
 playbooks/ai_benchmark.yml |  2 +-
 playbooks/ai_destroy.yml   |  2 +-
 playbooks/ai_install.yml   |  2 +-
 playbooks/ai_results.yml   |  2 +-
 playbooks/ai_setup.yml     |  2 +-
 playbooks/ai_tests.yml     |  6 +++---
 playbooks/ai_uninstall.yml |  2 +-
 playbooks/gen_tfvars.yml   |  1 -
 playbooks/minio.yml        | 10 +++++-----
 playbooks/terraform.yml    |  1 -
 scripts/terraform.Makefile |  7 +------
 workflows/ai/Makefile      | 14 --------------
 workflows/linux/Makefile   | 19 +++++++++++--------
 workflows/minio/Makefile   |  8 ++++----
 16 files changed, 32 insertions(+), 50 deletions(-)

---
base-commit: e46620a6a9518281e670319bb8e3fb109eba70f2
change-id: 20250917-fix-groups-d59935f3ff3c

Best regards,

Signature · 1 line
Daniel Gomez <[email protected]>