Merge pull request #21951 from johntron/patch-1

Fix second `unless` example
This commit is contained in:
jfindlay 2015-03-24 14:31:41 -06:00
commit ecd2f70a85

View File

@ -451,9 +451,10 @@ For example:
deploy_app: deploy_app:
cmd.run: cmd.run:
- first_deploy_cmd - names:
- second_deploy_cmd - first_deploy_cmd
- unless: some_check - second_deploy_cmd
- unless: some_check
In the above case, ``some_check`` will be run prior to _each_ name -- once for 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``. ``first_deploy_cmd`` and a second time for ``second_deploy_cmd``.