Skip to content

Commit

Permalink
Change example to use role params to represent the documented outcome.
Browse files Browse the repository at this point in the history
…Fixes ansible#68922
  • Loading branch information
sivel committed Nov 18, 2020
1 parent 570aed0 commit 5831d45
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/docsite/rst/user_guide/playbooks_reuse_roles.rst
Expand Up @@ -362,17 +362,13 @@ For example, a role named ``car`` depends on a role named ``wheel`` as follows:
---
dependencies:
- role: wheel
vars:
n: 1
n: 1
- role: wheel
vars:
n: 2
n: 2
- role: wheel
vars:
n: 3
n: 3
- role: wheel
vars:
n: 4
n: 4
And the ``wheel`` role depends on two roles: ``tire`` and ``brake``. The ``meta/main.yml`` for wheel would then contain the following:

Expand Down

0 comments on commit 5831d45

Please sign in to comment.