Fix typo in playbook roles doc
This commit is contained in:
parent
bbaf803227
commit
be22ed632c
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ This is an advanced topic that should not be relevant for most users.
|
||||||
If you write a custom module (see :doc:`developing_modules`) you may wish to distribute it as part of a role. Generally speaking, Ansible as a project is very interested
|
If you write a custom module (see :doc:`developing_modules`) you may wish to distribute it as part of a role. Generally speaking, Ansible as a project is very interested
|
||||||
in taking high-quality modules into ansible core for inclusion, so this shouldn't be the norm, but it's quite easy to do.
|
in taking high-quality modules into ansible core for inclusion, so this shouldn't be the norm, but it's quite easy to do.
|
||||||
|
|
||||||
An good example for this is if you worked at a company called AcmeWidgets, and wrote an internal module that helped configure your internal software, and you wanted other
|
A good example for this is if you worked at a company called AcmeWidgets, and wrote an internal module that helped configure your internal software, and you wanted other
|
||||||
people in your organization to easily use this module -- but you didn't want to tell everyone how to configure their Ansible library path.
|
people in your organization to easily use this module -- but you didn't want to tell everyone how to configure their Ansible library path.
|
||||||
|
|
||||||
Alongside the 'tasks' and 'handlers' structure of a role, add a directory named 'library'. In this 'library' directory, then include the module directly inside of it.
|
Alongside the 'tasks' and 'handlers' structure of a role, add a directory named 'library'. In this 'library' directory, then include the module directly inside of it.
|
||||||
|
|
Loading…
Reference in a new issue