Skip to content

docs: clarify inventory file setup and fix ansible command path#12

Open
lautou wants to merge 1 commit intoredhat-solution-patterns:mainfrom
lautou:main
Open

docs: clarify inventory file setup and fix ansible command path#12
lautou wants to merge 1 commit intoredhat-solution-patterns:mainfrom
lautou:main

Conversation

@lautou
Copy link
Copy Markdown

@lautou lautou commented Mar 25, 2026

The inventory file setup instructions were unclear due to:

  1. Missing directory context - the path 'inventories/inventory.template' only works after 'cd operator-setup', but the instruction to open the file appeared before the cd command
  2. Missing copy step - users should copy the template to avoid editing version-controlled files
  3. Wrong filename - ansible-playbook command referenced 'inventory.template' instead of the copied 'inventory' file

Changes:

  • Add explicit 'cd operator-setup' before the copy command
  • Add 'cp inventories/inventory.template inventories/inventory' command
  • Update instructions to reference 'inventory' instead of 'inventory.template'
  • Fix ansible-playbook command to use 'inventories/inventory'

This prevents confusion about file paths and follows Git best practices by not editing version-controlled template files.

The inventory file setup instructions were unclear due to:
1. Missing directory context - the path 'inventories/inventory.template'
   only works after 'cd operator-setup', but the instruction to open
   the file appeared before the cd command
2. Missing copy step - users should copy the template to avoid editing
   version-controlled files
3. Wrong filename - ansible-playbook command referenced 'inventory.template'
   instead of the copied 'inventory' file

Changes:
- Add explicit 'cd operator-setup' before the copy command
- Add 'cp inventories/inventory.template inventories/inventory' command
- Update instructions to reference 'inventory' instead of 'inventory.template'
- Fix ansible-playbook command to use 'inventories/inventory'

This prevents confusion about file paths and follows Git best practices
by not editing version-controlled template files.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jayachristina
Copy link
Copy Markdown
Member

Thanks for the PR. I’m OOO at present. Will merge early next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants