From d70a0d3006b14e42885f7bd3d173329407cc58cf Mon Sep 17 00:00:00 2001 From: Radu Mocanu Date: Tue, 27 Aug 2024 11:50:41 +0300 Subject: [PATCH] doc: added docs for check_mode and diff, fix typo, added to summary --- docs/summary.md | 2 ++ plugins/module_utils/common_ionos_module.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/summary.md b/docs/summary.md index d2bc29e9..30816873 100644 --- a/docs/summary.md +++ b/docs/summary.md @@ -10,9 +10,11 @@ * [Ansible Playbooks](usage/ansibleplaybooks.md) * [Wait for Services](usage/waitforservices.md) * [Incrementing servers](usage/incrementingservers.md) +* [Check Mode and Diff](usage/check_mode_and_diff.md) * [SSH Key Authentication](usage/sshkeyauthentication.md) * [Return values](usage/returnvalues.md) * [Testing](usage/testing.md) +* [Declarative Changes](usage/declarative_changes.md) ## Tutorials * [Tutorials introduction](tutorials/README.md) diff --git a/plugins/module_utils/common_ionos_module.py b/plugins/module_utils/common_ionos_module.py index f892fbd3..1dad361c 100644 --- a/plugins/module_utils/common_ionos_module.py +++ b/plugins/module_utils/common_ionos_module.py @@ -44,7 +44,7 @@ def calculate_object_diff(self, existing_object, clients): clients: authenticated ionoscloud clients list. Returns: - dict, a dict with 2 keys: 'before' and 'after' which should only the attributes watched by ansible in their states + dict, a dict with 2 keys: 'before' and 'after' which compares only the attributes watched by ansible in their states """ pass