mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-01 14:03:22 -07:00
minor fixes in doc guides (#10770)
This commit is contained in:
parent
b498435066
commit
3cc4f28fd7
2 changed files with 5 additions and 3 deletions
|
@ -22,6 +22,7 @@ The same example from the Developer Guide would become:
|
||||||
|
|
||||||
from ansible_collections.community.general.plugins.module_utils import deps
|
from ansible_collections.community.general.plugins.module_utils import deps
|
||||||
|
|
||||||
|
|
||||||
with deps.declare("foo"):
|
with deps.declare("foo"):
|
||||||
import foo
|
import foo
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,7 @@ section above, but there are more elements that will take part in it.
|
||||||
|
|
||||||
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
||||||
|
|
||||||
|
|
||||||
class MyTest(ModuleHelper):
|
class MyTest(ModuleHelper):
|
||||||
# behavior for module paramaters ONLY, see below for further information
|
# behavior for module paramaters ONLY, see below for further information
|
||||||
output_params = ()
|
output_params = ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue