fixed include_role doc example (#27986)

fixes #27985
This commit is contained in:
Brian Coca 2017-08-09 22:44:56 -04:00 committed by Jordan Borean
commit 940a74a93a

View file

@ -141,9 +141,9 @@ Or, using the newer syntax::
tasks:
- include_role:
name: foo_app_instance
args:
dir: '/opt/a'
app_port: 5000
vars:
dir: '/opt/a'
app_port: 5000
...
You can conditionally execute a role. This is not generally recommended with the classic syntax, but is common when using ``import_role`` or ``include_role``::