Skip to content
Commit 3dd98559 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

IPAAnsibleModule: Provide function to fail in param is invalid.

Almost all modules require an algorithm ta validade if the user
provided arguments for the playbook  are valid for the requested
state and/or action.

This patch provides a function that tests if any of a list of
arguments were set, and fail with a standardized message, making
all modules fail in the same way.
parent 742799f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment