mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
committed by
Jordan Borean
parent
38d026b1db
commit
940a74a93a
@@ -141,9 +141,9 @@ Or, using the newer syntax::
|
|||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: foo_app_instance
|
name: foo_app_instance
|
||||||
args:
|
vars:
|
||||||
dir: '/opt/a'
|
dir: '/opt/a'
|
||||||
app_port: 5000
|
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``::
|
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``::
|
||||||
|
|||||||
Reference in New Issue
Block a user