mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use grains dict directly when not traversing subdict
This commit is contained in:
parent
c2e0b57ba9
commit
6463994b4d
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ The ``onfail`` requisite is applied in the same way as ``require`` and ``watch``
|
|||
notify-build_failure:
|
||||
hipchat.send_message:
|
||||
- room_id: 123456
|
||||
- message: "Building website fail on {{ salt['grains.get']('id') }}"
|
||||
- message: "Building website fail on {{ grains['id'] }}"
|
||||
|
||||
|
||||
The default behavior of the ``onfail`` when multiple requisites are listed is
|
||||
|
|
Loading…
Add table
Reference in a new issue