1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Change reference to basic.py, where the implementation details live

This commit is contained in:
Adam Hartz 2016-02-16 10:32:57 -05:00
parent 327b27ba1c
commit cebf127d68

View file

@ -264,7 +264,7 @@ And failures are just as simple (where 'msg' is a required parameter to explain
module.fail_json(msg="Something fatal happened")
There are also other useful functions in the module class, such as module.sha1(path). See
lib/ansible/executor/module_common.py in the source checkout for implementation details.
lib/ansible/module_utils/basic.py in the source checkout for implementation details.
Again, modules developed this way are best tested with the hacking/test-module script in the git
source checkout. Because of the magic involved, this is really the only way the scripts