Point to cloud/amazon/GUIDELINES.md in main repo (#21780)

This commit is contained in:
John R Barker 2017-02-22 15:31:06 +00:00 committed by GitHub
parent 45251f910c
commit 48c6dd2689

View file

@ -74,7 +74,7 @@ The complete module metadata specification is here: https://github.com/ansible/p
* Avoid catchall exceptions, they are not very useful unless the underlying API gives very good error messages pertaining the attempted action. * Avoid catchall exceptions, they are not very useful unless the underlying API gives very good error messages pertaining the attempted action.
* Module-dependent guidelines: Additional module guidelines may exist for certain families of modules. * Module-dependent guidelines: Additional module guidelines may exist for certain families of modules.
* Be sure to check out the modules themselves for additional information. * Be sure to check out the modules themselves for additional information.
* Amazon: https://github.com/ansible/ansible-modules-extras/blob/devel/cloud/amazon/GUIDELINES.md * Amazon: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/amazon/GUIDELINES.md
* Modules should make use of the "extends_documentation_fragment" to ensure documentation available. For example, the AWS module should include:: * Modules should make use of the "extends_documentation_fragment" to ensure documentation available. For example, the AWS module should include::
extends_documentation_fragment: extends_documentation_fragment:
@ -227,4 +227,4 @@ This example allows the stat module to be called with fileinfo, making the follo
ln -s stat.py _fileinfo.py ln -s stat.py _fileinfo.py
ansible -m stat -a "path=/tmp" localhost ansible -m stat -a "path=/tmp" localhost
ansible -m fileinfo -a "path=/tmp" localhost ansible -m fileinfo -a "path=/tmp" localhost
''' '''