refs #8025 Local host vars doc improved

This commit is contained in:
Juan Ferrer 2025-02-04 12:30:59 +01:00
parent 715090ec7c
commit 9a1c167b74
1 changed files with 2 additions and 7 deletions

View File

@ -62,13 +62,8 @@ ansible-playbook playbooks/<playbook_name>.yml --list-tags
## Playbook testing
Before merging changes into protected branches, playbooks should be tested
locally to ensure they work properly. The following file patterns are in
*.gitignore* and can be used for local testing:
* Inventory: `inventories/local` or `inventories/local-*`
* Host vars: `local-[hostname].{yml|yaml}` or `[hostname].local.{yml|yaml}`
(Only when *run-playbook.sh* is used)
* Group vars: `local-[group].{yml|yaml}`
locally to ensure they work properly. Take a look to *.gitignore* to known
the *inventories* file patterns that are excluded from remote.
## Manage secrets