Skip to content

docs: tell customers how to get ansible-playbook on every platform#21

Merged
ericcames merged 1 commit into
mainfrom
20-where-to-run-ansible
May 21, 2026
Merged

docs: tell customers how to get ansible-playbook on every platform#21
ericcames merged 1 commit into
mainfrom
20-where-to-run-ansible

Conversation

@ericcames

@ericcames ericcames commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #20.

The manual install doc said "you need ansible-core" without telling the customer how to obtain it. That left Windows customers stuck — ansible-core doesn't run natively on Windows.

This PR adds a "Get a shell with ansible-playbook" section that recommends Azure Cloud Shell as the easy path (zero install, browser-based, works from any Windows machine, comes with ansible-core preinstalled, runs adjacent to the customer's AAP), followed by Linux/macOS/WSL2 alternatives with actual install commands.

Why Cloud Shell first

For a customer running Red Hat Managed AAP on Azure, Cloud Shell is already adjacent infrastructure. It removes three problems at once:

  1. No local install on the workstation.
  2. Network reach to the AAP is typically a non-issue (same Azure tenant).
  3. No ~/.ansible/ansible.cfg setup required — which leads to the second change in this PR.

Hub-token prereq reframed

Both install docs previously said a working ~/.ansible/ansible.cfg with an Automation Hub token was required. That assumed a Red Hat-employee setup. infra.aap_configuration is actually published on public Galaxy (galaxy.ansible.com), so a customer with a fresh Cloud Shell or vanilla laptop can ansible-galaxy collection install -r aap_config/requirements.yml with no Hub config at all.

The prereq is now reframed as (Optional — Red Hat employees only).

No separate Windows install guide

Considered and rejected. ~90% of the install doc is platform-agnostic (env vars, the loader command, AAP verification). A separate install-windows.md would have to duplicate all of it. A single doc with a platform section keeps everything DRY and the Windows path discoverable from the same TOC as everyone else.

Files

  • docs/install-manual.md — new "Get a shell with ansible-playbook" section + softened Hub-token prereq + improved troubleshooting line.
  • docs/install-with-ai.md — same changes for the AI path; points to the install-manual section for platform install commands.
  • CHANGELOG.md — entry under [Unreleased] / Changed.

Test plan

  • yamllint clean locally
  • ansible-lint clean locally
  • All cross-doc links resolve (install-manual.md#get-a-shell-with-ansible-playbook anchor verified)
  • CI green on PR

🤖 Generated with Claude Code

The manual install doc listed ansible-core as a prerequisite without
telling the customer how to obtain it — and ansible-core does not run
natively on Windows, which left Windows customers stuck.

Add an upfront "Get a shell with ansible-playbook" section to
docs/install-manual.md. Recommend Azure Cloud Shell first: it ships
with ansible-core preinstalled, runs from any browser including
Windows, and is already adjacent to the customer's AAP. Below it,
cover Linux (dnf/apt/pip), macOS (brew/pip), and Windows-via-WSL2
as alternatives with actual install commands.

Also reframe the Hub-token prerequisite as optional. infra.aap_configuration
is published on public Galaxy, so a customer with no Hub setup (e.g. in
fresh Cloud Shell) can install the loader without configuring anything.
The Hub token is only required if the user already routes Galaxy
through Hub. install-with-ai.md updated in lockstep so both paths agree.

No separate Windows install guide — a single doc with a platform
section keeps the rest (env vars, loader invocation, verification)
DRY across all OS targets.

Closes #20.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ericcames ericcames added the documentation Improvements or additions to documentation label May 21, 2026
@ericcames
ericcames merged commit dec7741 into main May 21, 2026
2 checks passed
@ericcames
ericcames deleted the 20-where-to-run-ansible branch May 21, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manual install doc doesn't tell customers how to get ansible-playbook (especially on Windows)

1 participant