From 1a8df6e955887277baa98403e610e7b0e94a56de Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Wed, 26 Oct 2022 23:21:50 +0200 Subject: [PATCH] ipamodule_base_docs: Fix documentation sections ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters --- plugins/doc_fragments/ipamodule_base_docs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/doc_fragments/ipamodule_base_docs.py b/plugins/doc_fragments/ipamodule_base_docs.py index 61e8e4b9..97aaffdd 100644 --- a/plugins/doc_fragments/ipamodule_base_docs.py +++ b/plugins/doc_fragments/ipamodule_base_docs.py @@ -30,15 +30,18 @@ options: ipaadmin_principal: description: The admin principal. default: admin + type: str ipaadmin_password: description: The admin password. required: false + type: str ipaapi_context: description: | The context in which the module will execute. Executing in a server context is preferred. If not provided context will be determined by the execution environment. choices: ["server", "client"] + type: str required: false ipaapi_ldap_cache: description: Use LDAP cache for IPA connection. -- GitLab