mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert curly braces example for nested dictionaries
This commit is contained in:
parent
622bb51464
commit
881a521586
1 changed files with 5 additions and 5 deletions
|
@ -77,11 +77,11 @@ deeply-nested dict can be declared with curly braces:
|
|||
- group: root
|
||||
- mode: 644
|
||||
- template: jinja
|
||||
- context:
|
||||
custom_var: "override"
|
||||
- defaults:
|
||||
custom_var: "default value"
|
||||
other_var: 123
|
||||
- context: {
|
||||
custom_var: "override" }
|
||||
- defaults: {
|
||||
custom_var: "default value",
|
||||
other_var: 123 }
|
||||
|
||||
Here is a more concrete example of how YAML actually handles these
|
||||
indentations, using the Python interpreter on the command line:
|
||||
|
|
Loading…
Add table
Reference in a new issue