|
|
@ -53,7 +53,6 @@ options:
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- IPv4 or IPv6 address or FQDN to send trap messages to.
|
|
|
|
- IPv4 or IPv6 address or FQDN to send trap messages to.
|
|
|
|
required: True
|
|
|
|
|
|
|
|
user:
|
|
|
|
user:
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -221,7 +220,6 @@ def create_manager(module, array):
|
|
|
|
version=module.params['version'],
|
|
|
|
version=module.params['version'],
|
|
|
|
community=module.params['community'],
|
|
|
|
community=module.params['community'],
|
|
|
|
notification=module.params['notification'],
|
|
|
|
notification=module.params['notification'],
|
|
|
|
user=module.params['user'],
|
|
|
|
|
|
|
|
host=module.params['host']
|
|
|
|
host=module.params['host']
|
|
|
|
)
|
|
|
|
)
|
|
|
|
except Exception:
|
|
|
|
except Exception:
|
|
|
@ -284,7 +282,7 @@ def main():
|
|
|
|
argument_spec = purefa_argument_spec()
|
|
|
|
argument_spec = purefa_argument_spec()
|
|
|
|
argument_spec.update(dict(
|
|
|
|
argument_spec.update(dict(
|
|
|
|
name=dict(type='str', required=True),
|
|
|
|
name=dict(type='str', required=True),
|
|
|
|
host=dict(type='str', required=True),
|
|
|
|
host=dict(type='str'),
|
|
|
|
state=dict(type='str', default='present', choices=['absent', 'present']),
|
|
|
|
state=dict(type='str', default='present', choices=['absent', 'present']),
|
|
|
|
user=dict(type='str'),
|
|
|
|
user=dict(type='str'),
|
|
|
|
notification=dict(type='str', choices=['inform', 'trap'], default='trap'),
|
|
|
|
notification=dict(type='str', choices=['inform', 'trap'], default='trap'),
|
|
|
|