From 693f8e623aeabdd9c84aa03ecc22577236e3653f Mon Sep 17 00:00:00 2001 From: GGabriele Date: Thu, 15 Sep 2016 16:34:26 +0200 Subject: [PATCH] Improving argument_spec --- lib/ansible/modules/network/nxos/nxos_pim_interface.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_pim_interface.py b/lib/ansible/modules/network/nxos/nxos_pim_interface.py index 42413f537de..00ace4b9fb8 100644 --- a/lib/ansible/modules/network/nxos/nxos_pim_interface.py +++ b/lib/ansible/modules/network/nxos/nxos_pim_interface.py @@ -800,15 +800,15 @@ def main(): argument_spec=dict( interface=dict(required=True), sparse=dict(type='bool', default=True), - dr_prio=dict(), - hello_auth_key=dict(), + dr_prio=dict(type='str'), + hello_auth_key=dict(type='str'), hello_interval=dict(type='int'), - jp_policy_out=dict(), - jp_policy_in=dict(), + jp_policy_out=dict(type='str'), + jp_policy_in=dict(type='str'), jp_type_out=dict(choices=['prefix', 'routemap']), jp_type_in=dict(choices=['prefix', 'routemap']), border=dict(type='bool'), - neighbor_policy=dict(), + neighbor_policy=dict(type='str'), neighbor_type=dict(choices=['prefix', 'routemap']), state=dict(choices=['present', 'absent', 'default'], default='present'),