refs #8025 Local host vars doc improved
This commit is contained in:
parent
715090ec7c
commit
9a1c167b74
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue