1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

More false-positives (not flagged by sanity tests yet). (#2010)

This commit is contained in:
Felix Fontein 2021-03-13 13:24:26 +01:00 committed by GitHub
parent 4676ca584b
commit 49d9a257ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 13 additions and 13 deletions

View file

@ -55,7 +55,7 @@ def keycloak_argument_spec():
:return: argument_spec dict :return: argument_spec dict
""" """
return dict( return dict(
auth_keycloak_url=dict(type='str', aliases=['url'], required=True), auth_keycloak_url=dict(type='str', aliases=['url'], required=True, no_log=False),
auth_client_id=dict(type='str', default='admin-cli'), auth_client_id=dict(type='str', default='admin-cli'),
auth_realm=dict(type='str', required=True), auth_realm=dict(type='str', required=True),
auth_client_secret=dict(type='str', default=None, no_log=True), auth_client_secret=dict(type='str', default=None, no_log=True),

View file

@ -242,7 +242,7 @@ def initialise_module():
no_log=True, no_log=True,
fallback=(env_fallback, ['LINODE_ACCESS_TOKEN']), fallback=(env_fallback, ['LINODE_ACCESS_TOKEN']),
), ),
authorized_keys=dict(type='list', elements='str', required=False), authorized_keys=dict(type='list', elements='str', required=False, no_log=False),
group=dict(type='str', required=False), group=dict(type='str', required=False),
image=dict(type='str', required=False), image=dict(type='str', required=False),
region=dict(type='str', required=False), region=dict(type='str', required=False),

View file

@ -1057,7 +1057,7 @@ def main():
smbios=dict(type='str'), smbios=dict(type='str'),
snapname=dict(type='str'), snapname=dict(type='str'),
sockets=dict(type='int'), sockets=dict(type='int'),
sshkeys=dict(type='str'), sshkeys=dict(type='str', no_log=False),
startdate=dict(type='str'), startdate=dict(type='str'),
startup=dict(), startup=dict(),
state=dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted', 'current']), state=dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted', 'current']),

View file

@ -630,7 +630,7 @@ def main():
ram=dict(type='float'), ram=dict(type='float'),
hdds=dict(type='list', elements='dict'), hdds=dict(type='list', elements='dict'),
count=dict(type='int', default=1), count=dict(type='int', default=1),
ssh_key=dict(type='raw'), ssh_key=dict(type='raw', no_log=False),
auto_increment=dict(type='bool', default=True), auto_increment=dict(type='bool', default=True),
server=dict(type='str'), server=dict(type='str'),
datacenter=dict( datacenter=dict(

View file

@ -583,7 +583,7 @@ def main():
volume_size=dict(type='int', default=10), volume_size=dict(type='int', default=10),
disk_type=dict(choices=['HDD', 'SSD'], default='HDD'), disk_type=dict(choices=['HDD', 'SSD'], default='HDD'),
image_password=dict(default=None, no_log=True), image_password=dict(default=None, no_log=True),
ssh_keys=dict(type='list', elements='str', default=[]), ssh_keys=dict(type='list', elements='str', default=[], no_log=False),
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
lan=dict(type='int', default=1), lan=dict(type='int', default=1),
count=dict(type='int', default=1), count=dict(type='int', default=1),

View file

@ -376,7 +376,7 @@ def main():
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
image=dict(), image=dict(),
image_password=dict(no_log=True), image_password=dict(no_log=True),
ssh_keys=dict(type='list', elements='str', default=[]), ssh_keys=dict(type='list', elements='str', default=[], no_log=False),
disk_type=dict(choices=['HDD', 'SSD'], default='HDD'), disk_type=dict(choices=['HDD', 'SSD'], default='HDD'),
licence_type=dict(default='UNKNOWN'), licence_type=dict(default='UNKNOWN'),
count=dict(type='int', default=1), count=dict(type='int', default=1),

View file

@ -404,7 +404,7 @@ def main():
nic_speed=dict(type='int', choices=NIC_SPEEDS), nic_speed=dict(type='int', choices=NIC_SPEEDS),
public_vlan=dict(type='str'), public_vlan=dict(type='str'),
private_vlan=dict(type='str'), private_vlan=dict(type='str'),
ssh_keys=dict(type='list', elements='str', default=[]), ssh_keys=dict(type='list', elements='str', default=[], no_log=False),
post_uri=dict(type='str'), post_uri=dict(type='str'),
state=dict(type='str', default='present', choices=STATES), state=dict(type='str', default='present', choices=STATES),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),

View file

@ -190,9 +190,9 @@ def run_module():
min_cluster_size=dict(type='int', required=False, default=1), min_cluster_size=dict(type='int', required=False, default=1),
target_cluster_size=dict(type='int', required=False, default=None), target_cluster_size=dict(type='int', required=False, default=None),
fail_on_cluster_change=dict(type='bool', required=False, default=True), fail_on_cluster_change=dict(type='bool', required=False, default=True),
migrate_tx_key=dict(type='str', required=False, migrate_tx_key=dict(type='str', required=False, no_log=False,
default="migrate_tx_partitions_remaining"), default="migrate_tx_partitions_remaining"),
migrate_rx_key=dict(type='str', required=False, migrate_rx_key=dict(type='str', required=False, no_log=False,
default="migrate_rx_partitions_remaining") default="migrate_rx_partitions_remaining")
) )

View file

@ -120,7 +120,7 @@ def main():
host=dict(), host=dict(),
tags=dict(type='list', elements='str'), tags=dict(type='list', elements='str'),
alert_type=dict(default='info', choices=['error', 'warning', 'info', 'success']), alert_type=dict(default='info', choices=['error', 'warning', 'info', 'success']),
aggregation_key=dict(), aggregation_key=dict(no_log=False),
validate_certs=dict(default=True, type='bool'), validate_certs=dict(default=True, type='bool'),
) )
) )

View file

@ -205,7 +205,7 @@ def main():
client=dict(required=False, default=None), client=dict(required=False, default=None),
client_url=dict(required=False, default=None), client_url=dict(required=False, default=None),
desc=dict(required=False, default='Created via Ansible'), desc=dict(required=False, default='Created via Ansible'),
incident_key=dict(required=False, default=None) incident_key=dict(required=False, default=None, no_log=False)
), ),
supports_check_mode=True supports_check_mode=True
) )

View file

@ -569,7 +569,7 @@ def endpoint_list_spec():
provider=dict(type='dict', options=endpoint_argument_spec()), provider=dict(type='dict', options=endpoint_argument_spec()),
metrics=dict(type='dict', options=endpoint_argument_spec()), metrics=dict(type='dict', options=endpoint_argument_spec()),
alerts=dict(type='dict', options=endpoint_argument_spec()), alerts=dict(type='dict', options=endpoint_argument_spec()),
ssh_keypair=dict(type='dict', options=endpoint_argument_spec()), ssh_keypair=dict(type='dict', options=endpoint_argument_spec(), no_log=False),
) )

View file

@ -470,7 +470,7 @@ def main():
password=dict(type='str', no_log=True), password=dict(type='str', no_log=True),
email=dict(type='str'), email=dict(type='str'),
sshkey_name=dict(type='str'), sshkey_name=dict(type='str'),
sshkey_file=dict(type='str'), sshkey_file=dict(type='str', no_log=False),
group=dict(type='str'), group=dict(type='str'),
access_level=dict(type='str', default="guest", choices=["developer", "guest", "maintainer", "master", "owner", "reporter"]), access_level=dict(type='str', default="guest", choices=["developer", "guest", "maintainer", "master", "owner", "reporter"]),
confirm=dict(type='bool', default=True), confirm=dict(type='bool', default=True),