Closed trishnaguha closed 5 years ago
Signed-off-by: Trishna Guha trishnaguha17@gmail.com
Fail validate_role_spec plugin if argument_spec is undefined in specification file. With no argument_spec being defined AnsibleModule class doesn't run any validation for other conditions and fail.
validate_role_spec
argument_spec
AnsibleModule class
Build failed.
Build succeeded.
Build succeeded (gate pipeline).
Backported to 2.6.10 https://github.com/ansible-network/network-engine/pull/223
Signed-off-by: Trishna Guha trishnaguha17@gmail.com
Fail
validate_role_spec
plugin ifargument_spec
is undefined in specification file. With no argument_spec being definedAnsibleModule class
doesn't run any validation for other conditions and fail.