Fixing argument_spec

This commit is contained in:
GGabriele 2016-09-14 17:49:02 +02:00 committed by Matt Clay
parent 57f86c0efc
commit 5f0060ec41

View file

@ -452,7 +452,7 @@ def get_trap_commands(group, state, existing, module):
def main():
argument_spec = dict(
state=dict(choices=['enabled', 'disabled'], required=True),
state=dict(choices=['enabled', 'disabled'], default='enabled'),
group=dict(choices=['aaa', 'bridge', 'callhome', 'cfs', 'config',
'entity', 'feature-control', 'hsrp',
'license', 'link', 'lldp', 'ospf', 'pim', 'rf',