Closed victorock closed 6 years ago
@victorock Do you mean that the default value is not set at all?
@trishnaguha when i ran the tests, the subkeys were not defined properly with the default value...
NOTE: I am not using the merge_behaviour = merge
@victorock As discussed with the team, this is not a bug but a feature idea. Currently default values need to be set via role only. This plugin only takes default
here as part of documenting the role spec.
resolved_by_pr https://github.com/ansible-network/network-engine/pull/198
ISSUE TYPE
ANSIBLE VERSION
Network OS
SUMMARY
validate_role_spec is not defining default values properly.
Undefined variables and subkeys being defined with the value defined in default.
Neither variables or subkeys are defined with the default values specified in the spec file.