-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing value for idempotent
in call to dnac_argument_spec
#3
Comments
Fixed in version 1.0.1. Thanks @jandiorio. |
wastorga
pushed a commit
that referenced
this issue
Sep 1, 2023
…timise Moving generic api's to library and optimising intent modules
syed-khadeerahmed
pushed a commit
to syed-khadeerahmed/dnacenter-ansible
that referenced
this issue
Aug 7, 2024
…ccesspoint_update_feature_all_fields Accesspoint update feature all fields
syed-khadeerahmed
pushed a commit
to syed-khadeerahmed/dnacenter-ansible
that referenced
this issue
Aug 30, 2024
…and_role_workflow_feature User and role workflow feature
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The function for generating the arg_spec has a flag named
idempotent
which has a default value ofFalse
. This value appears to control which values are used forstate
such as [create, delete, update, query] vs [present, absent, query].At the action plugin level, the value of state is used to control execution. When setting state in the arg_spec the call must pass
idempotent=True
for action plugins that are intended to be idempotent.An example is the
site.py
plugin. the logic filters execution based on the idempotent states of [present, absent, query] but when getting the value doesn't provideidempotent=True
so the values are limited to [create, delete, update, query].It seems a flag indicating if the plugin is idempotent or not would work.
The text was updated successfully, but these errors were encountered: