zabbix_maintenance: prevent to log password
This commit is contained in:
parent
1eb6c37594
commit
d04e6b1d07
1 changed files with 3 additions and 6 deletions
|
@ -48,12 +48,10 @@ options:
|
||||||
description:
|
description:
|
||||||
- Zabbix user name.
|
- Zabbix user name.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
|
||||||
login_password:
|
login_password:
|
||||||
description:
|
description:
|
||||||
- Zabbix user password.
|
- Zabbix user password.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
|
||||||
host_names:
|
host_names:
|
||||||
description:
|
description:
|
||||||
- Hosts to manage maintenance window for.
|
- Hosts to manage maintenance window for.
|
||||||
|
@ -83,7 +81,6 @@ options:
|
||||||
description:
|
description:
|
||||||
- Unique name of maintenance window.
|
- Unique name of maintenance window.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
|
||||||
desc:
|
desc:
|
||||||
description:
|
description:
|
||||||
- Short description of maintenance window.
|
- Short description of maintenance window.
|
||||||
|
@ -273,9 +270,9 @@ def main():
|
||||||
host_names=dict(type='list', required=False, default=None, aliases=['host_name']),
|
host_names=dict(type='list', required=False, default=None, aliases=['host_name']),
|
||||||
minutes=dict(type='int', required=False, default=10),
|
minutes=dict(type='int', required=False, default=10),
|
||||||
host_groups=dict(type='list', required=False, default=None, aliases=['host_group']),
|
host_groups=dict(type='list', required=False, default=None, aliases=['host_group']),
|
||||||
login_user=dict(required=True, default=None),
|
login_user=dict(required=True),
|
||||||
login_password=dict(required=True, default=None),
|
login_password=dict(required=True, no_log=True),
|
||||||
name=dict(required=True, default=None),
|
name=dict(required=True),
|
||||||
desc=dict(required=False, default="Created by Ansible"),
|
desc=dict(required=False, default="Created by Ansible"),
|
||||||
collect_data=dict(type='bool', required=False, default=True),
|
collect_data=dict(type='bool', required=False, default=True),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue