mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Merge pull request #11335 from parente/role-typo
Fix typo: "name" to "role"
This commit is contained in:
commit
5a02ea5f2b
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ Parameterized roles are useful.
|
||||||
If you are using a role and want to override a default, pass it as a parameter to the role like so::
|
If you are using a role and want to override a default, pass it as a parameter to the role like so::
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { name: apache, http_port: 8080 }
|
- { role: apache, http_port: 8080 }
|
||||||
|
|
||||||
This makes it clear to the playbook reader that you've made a conscious choice to override some default in the role, or pass in some
|
This makes it clear to the playbook reader that you've made a conscious choice to override some default in the role, or pass in some
|
||||||
configuration that the role can't assume by itself. It also allows you to pass something site-specific that isn't really part of the
|
configuration that the role can't assume by itself. It also allows you to pass something site-specific that isn't really part of the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue