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

adding links and anchors for links, referencing check mode

This commit is contained in:
Sandra Wills 2016-04-04 18:03:17 -04:00 committed by James Cammarata
parent f9d9cb8245
commit c3a086a55e
3 changed files with 5 additions and 1 deletions

View file

@ -66,7 +66,7 @@ This applies to all code in general, but often seems to be missing from modules.
- Fail predictably--if we must fail, do it in a way that is the most expected. Either mimic the underlying tool or the general way the system works. - Fail predictably--if we must fail, do it in a way that is the most expected. Either mimic the underlying tool or the general way the system works.
- Modules should not do the job of other modules, that is what roles are for. Less magic is more. - Modules should not do the job of other modules, that is what roles are for. Less magic is more.
- Don't reinvent the wheel. Part of the problem is that code sharing is not that easy nor documented, we also need to expand our base functions to provide common patterns (retry, throttling, etc). - Don't reinvent the wheel. Part of the problem is that code sharing is not that easy nor documented, we also need to expand our base functions to provide common patterns (retry, throttling, etc).
- Support check mode. - Support check mode. For more information, refer to :ref:`check_mode_drift` and :ref:`check_mode_dry`.
.. _module_dev_tutorial: .. _module_dev_tutorial:

View file

@ -1,3 +1,5 @@
.. _check_mode_dry:
Check Mode ("Dry Run") Check Mode ("Dry Run")
====================== ======================

View file

@ -32,6 +32,8 @@ If you think the service may not be started, the best thing to do is request it
will yell appropriately. (This should not be confused with whether the service is doing something functional, which we'll show more about how to will yell appropriately. (This should not be confused with whether the service is doing something functional, which we'll show more about how to
do later). do later).
.. _check_mode_drift:
Check Mode As A Drift Test Check Mode As A Drift Test
`````````````````````````` ``````````````````````````