mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #21951 from johntron/patch-1
Fix second `unless` example
This commit is contained in:
commit
ecd2f70a85
@ -451,9 +451,10 @@ For example:
|
||||
|
||||
deploy_app:
|
||||
cmd.run:
|
||||
- first_deploy_cmd
|
||||
- second_deploy_cmd
|
||||
- unless: some_check
|
||||
- names:
|
||||
- first_deploy_cmd
|
||||
- second_deploy_cmd
|
||||
- unless: some_check
|
||||
|
||||
In the above case, ``some_check`` will be run prior to _each_ name -- once for
|
||||
``first_deploy_cmd`` and a second time for ``second_deploy_cmd``.
|
||||
|
Loading…
Reference in New Issue
Block a user