mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
103ede26df
* Add tests for `get_fqdn_and_port` method. Currently tests verify original behavior - returning default `ssh-keyscan` port Add test around `add_host_key` to verify underlying command arguments Add some new expectations for `get_fqdn_and_port` Test that non-standard port is passed to `ssh-keyscan` command * Ensure ssh hostkey checks respect server port ssh-keyscan will default to getting the host key for port 22. If the ssh service is running on a different port, ssh-keyscan will need to know this. Tidy up minor flake8 issues * Update known_hosts tests for port being None Ensure that git urls don't try and set port when a path is specified Update known_hosts tests to meet flake8 * Fix stdin swap context for test_known_hosts Move test_known_hosts from under basic, as it is its own library. Remove module_utils.known_hosts from pep8 legacy files list
276 lines
12 KiB
Text
276 lines
12 KiB
Text
lib/ansible/cli/__init__.py
|
|
lib/ansible/cli/galaxy.py
|
|
lib/ansible/cli/playbook.py
|
|
lib/ansible/compat/six/__init__.py
|
|
lib/ansible/constants.py
|
|
lib/ansible/errors/__init__.py
|
|
lib/ansible/executor/play_iterator.py
|
|
lib/ansible/executor/stats.py
|
|
lib/ansible/executor/task_executor.py
|
|
lib/ansible/galaxy/role.py
|
|
lib/ansible/inventory/dir.py
|
|
lib/ansible/inventory/script.py
|
|
lib/ansible/module_utils/basic.py
|
|
lib/ansible/module_utils/ec2.py
|
|
lib/ansible/module_utils/facts.py
|
|
lib/ansible/module_utils/mysql.py
|
|
lib/ansible/modules/cloud/amazon/_ec2_vpc.py
|
|
lib/ansible/modules/cloud/amazon/aws_kms.py
|
|
lib/ansible/modules/cloud/amazon/cloudformation.py
|
|
lib/ansible/modules/cloud/amazon/cloudformation_facts.py
|
|
lib/ansible/modules/cloud/amazon/cloudfront_facts.py
|
|
lib/ansible/modules/cloud/amazon/cloudtrail.py
|
|
lib/ansible/modules/cloud/amazon/cloudwatchevent_rule.py
|
|
lib/ansible/modules/cloud/amazon/dynamodb_table.py
|
|
lib/ansible/modules/cloud/amazon/ec2.py
|
|
lib/ansible/modules/cloud/amazon/ec2_ami.py
|
|
lib/ansible/modules/cloud/amazon/ec2_ami_find.py
|
|
lib/ansible/modules/cloud/amazon/ec2_asg.py
|
|
lib/ansible/modules/cloud/amazon/ec2_asg_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_customer_gateway.py
|
|
lib/ansible/modules/cloud/amazon/ec2_elb.py
|
|
lib/ansible/modules/cloud/amazon/ec2_elb_lb.py
|
|
lib/ansible/modules/cloud/amazon/ec2_eni.py
|
|
lib/ansible/modules/cloud/amazon/ec2_eni_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_group.py
|
|
lib/ansible/modules/cloud/amazon/ec2_lc.py
|
|
lib/ansible/modules/cloud/amazon/ec2_metric_alarm.py
|
|
lib/ansible/modules/cloud/amazon/ec2_remote_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_scaling_policy.py
|
|
lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_tag.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vol_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_options_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_nacl.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_net_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_route_table_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_subnet_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_vpc_vgw_facts.py
|
|
lib/ansible/modules/cloud/amazon/ec2_win_password.py
|
|
lib/ansible/modules/cloud/amazon/ecs_service.py
|
|
lib/ansible/modules/cloud/amazon/ecs_service_facts.py
|
|
lib/ansible/modules/cloud/amazon/ecs_taskdefinition.py
|
|
lib/ansible/modules/cloud/amazon/elasticache.py
|
|
lib/ansible/modules/cloud/amazon/iam.py
|
|
lib/ansible/modules/cloud/amazon/iam_cert.py
|
|
lib/ansible/modules/cloud/amazon/iam_policy.py
|
|
lib/ansible/modules/cloud/amazon/iam_role.py
|
|
lib/ansible/modules/cloud/amazon/lambda.py
|
|
lib/ansible/modules/cloud/amazon/rds.py
|
|
lib/ansible/modules/cloud/amazon/rds_param_group.py
|
|
lib/ansible/modules/cloud/amazon/rds_subnet_group.py
|
|
lib/ansible/modules/cloud/amazon/redshift.py
|
|
lib/ansible/modules/cloud/amazon/route53.py
|
|
lib/ansible/modules/cloud/amazon/route53_health_check.py
|
|
lib/ansible/modules/cloud/amazon/s3.py
|
|
lib/ansible/modules/cloud/amazon/s3_bucket.py
|
|
lib/ansible/modules/cloud/amazon/s3_lifecycle.py
|
|
lib/ansible/modules/cloud/amazon/s3_sync.py
|
|
lib/ansible/modules/cloud/amazon/s3_website.py
|
|
lib/ansible/modules/cloud/amazon/sns_topic.py
|
|
lib/ansible/modules/cloud/amazon/sts_assume_role.py
|
|
lib/ansible/modules/cloud/amazon/sts_session_token.py
|
|
lib/ansible/modules/cloud/azure/azure.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_deployment.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_networkinterface_facts.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_securitygroup_facts.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_subnet.py
|
|
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
|
|
lib/ansible/modules/cloud/centurylink/clc_loadbalancer.py
|
|
lib/ansible/modules/cloud/cloudscale/cloudscale_server.py
|
|
lib/ansible/modules/cloud/cloudstack/cs_host.py
|
|
lib/ansible/modules/cloud/cloudstack/cs_instance.py
|
|
lib/ansible/modules/cloud/cloudstack/cs_iso.py
|
|
lib/ansible/modules/cloud/cloudstack/cs_portforward.py
|
|
lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py
|
|
lib/ansible/modules/cloud/digital_ocean/digital_ocean.py
|
|
lib/ansible/modules/cloud/docker/_docker.py
|
|
lib/ansible/modules/cloud/google/gc_storage.py
|
|
lib/ansible/modules/cloud/google/gce_tag.py
|
|
lib/ansible/modules/cloud/google/gcpubsub.py
|
|
lib/ansible/modules/cloud/misc/ovirt.py
|
|
lib/ansible/modules/cloud/misc/proxmox.py
|
|
lib/ansible/modules/cloud/misc/proxmox_kvm.py
|
|
lib/ansible/modules/cloud/misc/proxmox_template.py
|
|
lib/ansible/modules/cloud/misc/serverless.py
|
|
lib/ansible/modules/cloud/openstack/_nova_compute.py
|
|
lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py
|
|
lib/ansible/modules/cloud/packet/packet_device.py
|
|
lib/ansible/modules/cloud/packet/packet_sshkey.py
|
|
lib/ansible/modules/cloud/profitbricks/profitbricks.py
|
|
lib/ansible/modules/cloud/profitbricks/profitbricks_datacenter.py
|
|
lib/ansible/modules/cloud/softlayer/sl_vm.py
|
|
lib/ansible/modules/cloud/vmware/vca_fw.py
|
|
lib/ansible/modules/cloud/vmware/vmware_guest.py
|
|
lib/ansible/modules/cloud/vmware/vsphere_guest.py
|
|
lib/ansible/modules/cloud/webfaction/webfaction_app.py
|
|
lib/ansible/modules/cloud/webfaction/webfaction_db.py
|
|
lib/ansible/modules/cloud/webfaction/webfaction_domain.py
|
|
lib/ansible/modules/cloud/webfaction/webfaction_mailbox.py
|
|
lib/ansible/modules/cloud/webfaction/webfaction_site.py
|
|
lib/ansible/modules/clustering/consul.py
|
|
lib/ansible/modules/commands/script.py
|
|
lib/ansible/modules/database/influxdb/influxdb_retention_policy.py
|
|
lib/ansible/modules/database/misc/mongodb_user.py
|
|
lib/ansible/modules/database/mssql/mssql_db.py
|
|
lib/ansible/modules/database/mysql/mysql_db.py
|
|
lib/ansible/modules/database/mysql/mysql_replication.py
|
|
lib/ansible/modules/database/mysql/mysql_user.py
|
|
lib/ansible/modules/database/mysql/mysql_variables.py
|
|
lib/ansible/modules/database/postgresql/postgresql_db.py
|
|
lib/ansible/modules/database/postgresql/postgresql_ext.py
|
|
lib/ansible/modules/database/postgresql/postgresql_privs.py
|
|
lib/ansible/modules/database/postgresql/postgresql_schema.py
|
|
lib/ansible/modules/database/postgresql/postgresql_user.py
|
|
lib/ansible/modules/database/vertica/vertica_schema.py
|
|
lib/ansible/modules/database/vertica/vertica_user.py
|
|
lib/ansible/modules/files/acl.py
|
|
lib/ansible/modules/files/archive.py
|
|
lib/ansible/modules/files/copy.py
|
|
lib/ansible/modules/files/synchronize.py
|
|
lib/ansible/modules/files/tempfile.py
|
|
lib/ansible/modules/files/unarchive.py
|
|
lib/ansible/modules/messaging/rabbitmq_queue.py
|
|
lib/ansible/modules/monitoring/boundary_meter.py
|
|
lib/ansible/modules/monitoring/datadog_monitor.py
|
|
lib/ansible/modules/monitoring/logicmonitor.py
|
|
lib/ansible/modules/monitoring/nagios.py
|
|
lib/ansible/modules/monitoring/pagerduty_alert.py
|
|
lib/ansible/modules/monitoring/zabbix_screen.py
|
|
lib/ansible/modules/network/a10/a10_server.py
|
|
lib/ansible/modules/network/a10/a10_server_axapi3.py
|
|
lib/ansible/modules/network/a10/a10_service_group.py
|
|
lib/ansible/modules/network/basics/slurp.py
|
|
lib/ansible/modules/network/cloudflare_dns.py
|
|
lib/ansible/modules/network/dnsimple.py
|
|
lib/ansible/modules/network/dnsmadeeasy.py
|
|
lib/ansible/modules/network/exoscale/exo_dns_record.py
|
|
lib/ansible/modules/network/f5/bigip_facts.py
|
|
lib/ansible/modules/network/f5/bigip_monitor_tcp.py
|
|
lib/ansible/modules/network/f5/bigip_node.py
|
|
lib/ansible/modules/network/f5/bigip_pool.py
|
|
lib/ansible/modules/network/f5/bigip_pool_member.py
|
|
lib/ansible/modules/network/f5/bigip_virtual_server.py
|
|
lib/ansible/modules/network/haproxy.py
|
|
lib/ansible/modules/network/nmcli.py
|
|
lib/ansible/modules/network/nxos/nxos_bgp.py
|
|
lib/ansible/modules/network/nxos/nxos_bgp_af.py
|
|
lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py
|
|
lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py
|
|
lib/ansible/modules/network/nxos/nxos_evpn_vni.py
|
|
lib/ansible/modules/network/nxos/nxos_feature.py
|
|
lib/ansible/modules/network/nxos/nxos_gir.py
|
|
lib/ansible/modules/network/nxos/nxos_install_os.py
|
|
lib/ansible/modules/network/nxos/nxos_interface_ospf.py
|
|
lib/ansible/modules/network/nxos/nxos_pim_interface.py
|
|
lib/ansible/modules/network/nxos/nxos_snapshot.py
|
|
lib/ansible/modules/network/nxos/nxos_vlan.py
|
|
lib/ansible/modules/network/nxos/nxos_vpc.py
|
|
lib/ansible/modules/network/panos/panos_nat_policy.py
|
|
lib/ansible/modules/network/snmp_facts.py
|
|
lib/ansible/modules/notification/hall.py
|
|
lib/ansible/modules/notification/sendgrid.py
|
|
lib/ansible/modules/notification/sns.py
|
|
lib/ansible/modules/packaging/language/composer.py
|
|
lib/ansible/modules/packaging/language/maven_artifact.py
|
|
lib/ansible/modules/packaging/os/apt.py
|
|
lib/ansible/modules/packaging/os/apt_key.py
|
|
lib/ansible/modules/packaging/os/dnf.py
|
|
lib/ansible/modules/packaging/os/homebrew.py
|
|
lib/ansible/modules/packaging/os/openbsd_pkg.py
|
|
lib/ansible/modules/packaging/os/opkg.py
|
|
lib/ansible/modules/packaging/os/pacman.py
|
|
lib/ansible/modules/packaging/os/rhn_register.py
|
|
lib/ansible/modules/packaging/os/swdepot.py
|
|
lib/ansible/modules/packaging/os/yum.py
|
|
lib/ansible/modules/packaging/os/zypper.py
|
|
lib/ansible/modules/source_control/github_hooks.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_amg.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_amg_sync.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_auth.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_host.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_hostgroup.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_snapshot_group.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_snapshot_volume.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_storage_system.py
|
|
lib/ansible/modules/storage/netapp/netapp_e_storagepool.py
|
|
lib/ansible/modules/system/debconf.py
|
|
lib/ansible/modules/system/filesystem.py
|
|
lib/ansible/modules/system/firewalld.py
|
|
lib/ansible/modules/system/gluster_volume.py
|
|
lib/ansible/modules/system/group.py
|
|
lib/ansible/modules/system/known_hosts.py
|
|
lib/ansible/modules/system/locale_gen.py
|
|
lib/ansible/modules/system/lvol.py
|
|
lib/ansible/modules/system/pam_limits.py
|
|
lib/ansible/modules/system/solaris_zone.py
|
|
lib/ansible/modules/system/systemd.py
|
|
lib/ansible/modules/system/user.py
|
|
lib/ansible/modules/utilities/helper/meta.py
|
|
lib/ansible/modules/utilities/logic/include.py
|
|
lib/ansible/modules/utilities/logic/include_role.py
|
|
lib/ansible/modules/utilities/logic/include_vars.py
|
|
lib/ansible/modules/utilities/logic/pause.py
|
|
lib/ansible/modules/utilities/logic/set_fact.py
|
|
lib/ansible/modules/utilities/logic/wait_for.py
|
|
lib/ansible/modules/web_infrastructure/apache2_mod_proxy.py
|
|
lib/ansible/modules/web_infrastructure/django_manage.py
|
|
lib/ansible/modules/web_infrastructure/jenkins_job.py
|
|
lib/ansible/modules/web_infrastructure/jira.py
|
|
lib/ansible/modules/web_infrastructure/nginx_status_facts.py
|
|
lib/ansible/modules/windows/win_acl.py
|
|
lib/ansible/modules/windows/win_acl_inheritance.py
|
|
lib/ansible/modules/windows/win_chocolatey.py
|
|
lib/ansible/modules/windows/win_command.py
|
|
lib/ansible/modules/windows/win_feature.py
|
|
lib/ansible/modules/windows/win_lineinfile.py
|
|
lib/ansible/modules/windows/win_nssm.py
|
|
lib/ansible/modules/windows/win_package.py
|
|
lib/ansible/modules/windows/win_path.py
|
|
lib/ansible/modules/windows/win_regedit.py
|
|
lib/ansible/modules/windows/win_regmerge.py
|
|
lib/ansible/modules/windows/win_robocopy.py
|
|
lib/ansible/modules/windows/win_say.py
|
|
lib/ansible/modules/windows/win_shell.py
|
|
lib/ansible/modules/windows/win_unzip.py
|
|
lib/ansible/modules/windows/win_updates.py
|
|
lib/ansible/modules/windows/win_uri.py
|
|
lib/ansible/modules/windows/win_webpicmd.py
|
|
lib/ansible/parsing/mod_args.py
|
|
lib/ansible/playbook/attribute.py
|
|
lib/ansible/playbook/block.py
|
|
lib/ansible/playbook/role/__init__.py
|
|
lib/ansible/playbook/role/metadata.py
|
|
lib/ansible/plugins/action/set_fact.py
|
|
lib/ansible/plugins/action/set_stats.py
|
|
lib/ansible/plugins/action/synchronize.py
|
|
lib/ansible/plugins/cache/jsonfile.py
|
|
lib/ansible/plugins/callback/default.py
|
|
lib/ansible/plugins/callback/logentries.py
|
|
lib/ansible/plugins/callback/oneline.py
|
|
lib/ansible/plugins/connection/accelerate.py
|
|
lib/ansible/plugins/connection/paramiko_ssh.py
|
|
lib/ansible/plugins/connection/ssh.py
|
|
lib/ansible/plugins/connection/winrm.py
|
|
lib/ansible/plugins/filter/ipaddr.py
|
|
lib/ansible/plugins/lookup/dig.py
|
|
lib/ansible/plugins/lookup/dnstxt.py
|
|
lib/ansible/plugins/lookup/first_found.py
|
|
lib/ansible/plugins/shell/fish.py
|
|
lib/ansible/plugins/shell/sh.py
|
|
lib/ansible/plugins/strategy/__init__.py
|
|
lib/ansible/plugins/strategy/debug.py
|
|
lib/ansible/plugins/strategy/linear.py
|
|
lib/ansible/template/__init__.py
|
|
lib/ansible/utils/encrypt.py
|
|
lib/ansible/utils/module_docs.py
|
|
lib/ansible/utils/module_docs_fragments/aws.py
|
|
lib/ansible/utils/module_docs_fragments/azure_tags.py
|
|
lib/ansible/utils/module_docs_fragments/ec2.py
|
|
lib/ansible/utils/module_docs_fragments/files.py
|
|
lib/ansible/utils/module_docs_fragments/netapp.py
|
|
lib/ansible/utils/module_docs_fragments/ovirt.py
|
|
lib/ansible/utils/module_docs_fragments/ovirt_facts.py
|
|
lib/ansible/vars/__init__.py
|