MCPcopy Create free account

hub / github.com/PacktPublishing/Ansible-for-Real-life-Automation / functions

Functions21,084 in github.com/PacktPublishing/Ansible-for-Real-life-Automation

↓ 9 callersMethod_add_host
Add the host to the parent group in the given inventory.
Chapter-07/collections/ansible_collections/community/vmware/scripts/inventory/vmware.py:283
↓ 9 callersMethod_find_account_uri
(self, username=None, acct_id=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:844
↓ 9 callersMethod_set_data_entry
Helper to save data Helper to save the data in self.data Detect if data is allready in branch and use dict_merge() to prevent that br
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/lxd.py:495
↓ 9 callersMethod_test_base
Base function that's called by all the other test functions module_args (dict): Arguments passed to the module return_va
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/identity/ipa/test_ipa_otptoken.py:44
↓ 9 callersMethodattach
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/solaris_zone.py:356
↓ 9 callersFunctionbuild_kwargs
Builds a kwargs dict which may contain the optional registryId. :param registry_id: Optional string containing the registryId. :return:
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/ecs_ecr.py:202
↓ 9 callersMethodcall
Helper function to perform gconftool-2 operations
Chapter-07/collections/ansible_collections/community/general/plugins/modules/gconftool2.py:100
↓ 9 callersMethodcontainers
(self, all=False)
Chapter-10/collections/ansible_collections/community/docker/tests/unit/plugins/inventory/test_docker_containers.py:108
↓ 9 callersMethodcontainers
(self, all=False)
Chapter-06/collections/ansible_collections/community/docker/tests/unit/plugins/inventory/test_docker_containers.py:108
↓ 9 callersMethodensure_absent
Ensure cache cluster is gone or delete it if not
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/elasticache.py:182
↓ 9 callersMethodexecute_command
(self, cmd)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/svc.py:224
↓ 9 callersMethodexecute_command
(self, cmd)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/svc.py:224
↓ 9 callersFunctionfind_vm_by_name
(content, vm_name, folder=None, recurse=True)
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:364
↓ 9 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_sql_instance.py:1202
↓ 9 callersMethodget_container
Lookup a container and return the inspection results.
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/common.py:354
↓ 9 callersMethodget_file_system_state
Returns state of filesystem by EFS id/name
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/efs.py:369
↓ 9 callersMethodget_host
Read info about a specific host or VM from cache or VMware API.
Chapter-07/collections/ansible_collections/community/vmware/scripts/inventory/vmware.py:414
↓ 9 callersFunctionget_profile
(params)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/alicloud_ecs.py:123
↓ 9 callersFunctionget_rds_method_attribute
(method_name, module)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/rds.py:39
↓ 9 callersFunctionis_node
Test if a given xpath matches anything and if that match is a node. For now we just assume you're only searching for one specific thing.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/xml.py:412
↓ 9 callersFunctionis_node
Test if a given xpath matches anything and if that match is a node. For now we just assume you're only searching for one specific thing.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/files/xml.py:412
↓ 9 callersFunctionnormalize_boto3_result
Because Boto3 returns datetime objects where it knows things are supposed to be dates we need to mass-convert them over to strings which Ansi
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:441
↓ 9 callersFunctionparse_unit
Parses a string containing a size or boundary information
Chapter-07/collections/ansible_collections/community/general/plugins/modules/parted.py:240
↓ 9 callersFunctionparse_unit
Parses a string containing a size or boundary information
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/parted.py:240
↓ 9 callersMethodpatch_status
(self, side_effect)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/monitoring/test_monit.py:33
↓ 9 callersMethodping
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:113
↓ 9 callersMethodpoll
(self)
Chapter-07/collections/ansible_collections/ansible/posix/plugins/callback/cgroup_perf_recap.py:203
↓ 9 callersMethodquery
(self, resource, method, data=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/net_tools/dnsmadeeasy.py:416
↓ 9 callersFunctionsanitize
(idp)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/keycloak_identity_provider.py:427
↓ 9 callersFunctionsanitize
(comp)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/keycloak_user_federation.py:680
↓ 9 callersFunctionsanitize
(idp)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/identity/keycloak/keycloak_identity_provider.py:427
↓ 9 callersFunctionsanitize
(comp)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/identity/keycloak/keycloak_user_federation.py:680
↓ 9 callersMethodsend_event
(self, url, authtoken, validate_certs, include_milliseconds, batch, state, result, runtime)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/splunk.py:120
↓ 9 callersMethodsend_msg
(self, attachments)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/slack.py:116
↓ 9 callersMethodset_span_attribute
update the span attribute with the given attribute and value if not None
Chapter-07/collections/ansible_collections/community/general/plugins/callback/opentelemetry.py:287
↓ 9 callersMethodvalid_package
A valid package is either None or alphanumeric.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/homebrew.py:269
↓ 9 callersFunctionwait_for_status
Wait for the status to change for a Kinesis Stream. Args: client (botocore.client.EC2): Boto3 client stream_name (str): The name o
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/kinesis_stream.py:271
↓ 8 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/oneandone_private_network.py:177
↓ 8 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/oneandone/oneandone_private_network.py:177
↓ 8 callersFunction_create_wrapped_client
(placeboify)
Chapter-07/collections/ansible_collections/amazon/aws/tests/unit/plugins/modules/test_cloudformation.py:84
↓ 8 callersFunction_create_wrapped_client
(placeboify)
Chapter-05/collections/ansible_collections/amazon/aws/tests/unit/plugins/modules/test_cloudformation.py:84
↓ 8 callersMethod_find_systems_resource
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:247
↓ 8 callersFunction_flatpak_command
(module, noop, command, ignore_failure=False)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/flatpak.py:286
↓ 8 callersFunction_flatpak_command
(module, noop, command, ignore_failure=False)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/flatpak.py:286
↓ 8 callersMethod_make_botocore_exception
(self)
Chapter-07/collections/ansible_collections/amazon/aws/tests/unit/module_utils/test_iam.py:71
↓ 8 callersMethod_make_botocore_exception
(self)
Chapter-05/collections/ansible_collections/amazon/aws/tests/unit/module_utils/test_iam.py:71
↓ 8 callersMethod_populate
Return the hosts and groups Returns the processed container configurations from the lxd import Args: None Kwargs
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/lxd.py:893
↓ 8 callersMethodadd_missing_key
(self, dict_object, key_to_set, value_to_set)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/cloudfront_distribution.py:1608
↓ 8 callersFunctionapt_repo
run apt-repo with args and return its output
Chapter-07/collections/ansible_collections/community/general/plugins/modules/apt_repo.py:76
↓ 8 callersFunctionapt_repo
run apt-repo with args and return its output
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/apt_repo.py:76
↓ 8 callersFunctionawait_instances
(ids, desired_module_state='present', force_wait=False)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/modules/ec2_instance.py:1312
↓ 8 callersFunctionawait_instances
(ids, desired_module_state='present', force_wait=False)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/modules/ec2_instance.py:1312
↓ 8 callersMethodbitbucket_argument_spec
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/source_control/bitbucket.py:23
↓ 8 callersMethodbitbucket_required_one_of
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/source_control/bitbucket.py:35
↓ 8 callersMethodbitbucket_required_together
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/source_control/bitbucket.py:39
↓ 8 callersFunctionboto3_conn
(module, conn_type=None, resource=None, region=None, endpoint=None, **params)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:125
↓ 8 callersMethodbotocore_at_least
Check if the available botocore version is greater than or equal to a desired version. Usage: if not module.botocore_at_least('1.
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:304
↓ 8 callersFunctioncall_method
(client, module, method_name, parameters)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/rds.py:112
↓ 8 callersFunctioncall_rfc_method
(connection, method_name, kwargs)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/sap_task_list_execute.py:199
↓ 8 callersFunctioncall_rfc_method
(connection, method_name, kwargs)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/sap_task_list_execute.py:199
↓ 8 callersFunctioncategory_changed
(module, client, category_name, ipa_sudorule)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/ipa_sudorule.py:284
↓ 8 callersFunctioncategory_changed
(module, client, category_name, ipa_sudorule)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/identity/ipa/ipa_sudorule.py:284
↓ 8 callersFunctionclean_dict_booleans_for_docker_api
Go doesn't like Python booleans 'True' or 'False', while Ansible is just fine with them in YAML. As such, they need to be converted in cases
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/util.py:290
↓ 8 callersMethodconnect
Establishes XAPI connection and returns session reference. If no existing session is available, establishes a new one and returns it,
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/xenserver.py:768
↓ 8 callersMethodcreate_pvlan_config_spec
Create PVLAN config spec operation: add, edit, or remove Returns: PVLAN config spec
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_dvswitch_pvlans.py:476
↓ 8 callersMethoddiff_objects
(self, existing, new)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/common.py:523
↓ 8 callersMethoddo_request
(self, url, payload=None, headers=None, method=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/stacki_host.py:191
↓ 8 callersMethoddo_request
(self, url, payload=None, headers=None, method=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/remote_management/stacki/stacki_host.py:191
↓ 8 callersFunctionexecute
(cmd, ignore_error=False)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/ufw.py:392
↓ 8 callersFunctionexecute
(cmd, ignore_error=False)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/ufw.py:392
↓ 8 callersMethodexecute_command
(self, cmd)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/runit.py:199
↓ 8 callersMethodexecute_command
(self, cmd)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/runit.py:199
↓ 8 callersMethodfail
Utility failure method, will ensure pyone is properly closed before failing. Args: msg: human readable failure reason.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/opennebula.py:106
↓ 8 callersMethodfetch_access_token
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/source_control/bitbucket.py:42
↓ 8 callersFunctionfindGroup
(gitlab_instance, identifier)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/gitlab.py:70
↓ 8 callersMethodfind_datastore_by_name
Get datastore managed object by name Args: datastore_name: Name of datastore datacenter_name: Name of datacen
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:1575
↓ 8 callersFunctionfind_instance_info
(module, client, instance_name, fail_if_not_found=False)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/lightsail.py:166
↓ 8 callersFunctionfind_vgw
(client, module, vpn_gateway_id=None)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/ec2_vpc_vgw.py:370
↓ 8 callersMethodfinish_task
record the results of a task for a single host
Chapter-07/collections/ansible_collections/community/general/plugins/callback/elastic.py:171
↓ 8 callersFunctiongen_specs
(**specs)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ldap.py:29
↓ 8 callersFunctionget_bin_path
Mock AnsibleModule.get_bin_path
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/system/test_ufw.py:135
↓ 8 callersFunctionget_datacenter
Validates the datacenter exists by ID or country code. Returns the datacenter ID.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneandone.py:44
↓ 8 callersFunctionget_image_by_id
(module, connection, image_id)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/modules/ec2_ami.py:667
↓ 8 callersFunctionget_image_by_id
(module, connection, image_id)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/modules/ec2_ami.py:667
↓ 8 callersMethodget_managed_objects_properties
Look up a Managed Object Reference in vCenter / ESXi Environment :param vim_type: Type of vim object e.g, for datacenter - vim.Datace
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:1155
↓ 8 callersFunctionget_option_group
(client, module)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/rds_option_group.py:382
↓ 8 callersMethodget_primary_pvlan_option
Get Primary PVLAN option
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_dvswitch_pvlans.py:440
↓ 8 callersMethodget_recommended_datastore
Return Storage DRS recommended datastore from datastore cluster Args: datastore_cluster_obj: datastore cluster managed ob
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_guest_disk.py:1009
↓ 8 callersMethodget_secondary_pvlan_options
Get Secondary PVLAN option
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_dvswitch_pvlans.py:451
↓ 8 callersFunctionget_security_groups_with_backoff
(client, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/modules/ec2_group.py:575
↓ 8 callersFunctionget_security_groups_with_backoff
(client, **kwargs)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/modules/ec2_group.py:575
↓ 8 callersFunctionget_vm
(proxmox, vmid)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/proxmox_kvm.py:754
↓ 8 callersFunctionget_vm
(proxmox, vmid)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/misc/proxmox_kvm.py:754
↓ 8 callersMethodget_web_acl
(self)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/wafv2_web_acl.py:380
↓ 8 callersFunctionget_zone_id
Returns the zone's id if it exists and is unique
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/memset.py:115
↓ 8 callersMethodhas_changed
(self, v)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/mh/mixins/vars.py:120
↓ 8 callersMethodinsert_before
(self, rule_type, rule_control, rule_path, new_type=None, new_control=None, new_path=Non
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py:534
↓ 8 callersFunctionis_volume_permissions
(mode)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:1248
↓ 8 callersFunctionis_volume_permissions
(mode)
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:1257
↓ 8 callersFunctionismount
Test whether a path is a mount point This is a copy of the upstream version of ismount(). Originally this was copied here as a workaround unti
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/_mount.py:59
← previousnext →501–600 of 21,084, ranked by callers