From 6f687d91766f93b90c5642e8fc43399c5022ef81 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 30 Dec 2024 20:06:58 +0100 Subject: [PATCH] Mention check mode in attribute description. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --- plugins/doc_fragments/attributes.py | 2 +- roles/install/meta/argument_specs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/doc_fragments/attributes.py b/plugins/doc_fragments/attributes.py index 1bef9f9..d2e8372 100644 --- a/plugins/doc_fragments/attributes.py +++ b/plugins/doc_fragments/attributes.py @@ -20,7 +20,7 @@ class ModuleDocFragment(object): description: Will return details on what has changed (or possibly needs changing in C(check_mode)), when in diff mode. idempotent: description: - - When run twice in a row with the same arguments, the second invocation indicates no change. + - When run twice in a row outside check mode, with the same arguments, the second invocation indicates no change. - This assumes that the system controlled/queried by the module has not changed in a relevant way. """ diff --git a/roles/install/meta/argument_specs.yml b/roles/install/meta/argument_specs.yml index 1dd7816..e5d332c 100644 --- a/roles/install/meta/argument_specs.yml +++ b/roles/install/meta/argument_specs.yml @@ -84,7 +84,7 @@ argument_specs: - The role supports diff mode if the M(ansible.builtin.package) action for the system supports it. idempotent: description: - - When run twice in a row with the same arguments, the second invocation indicates no change. + - When run twice in a row outside check mode, with the same arguments, the second invocation indicates no change. - This assumes that the system controlled/queried by the module has not changed in a relevant way. support: partial details: