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

↓ 12 callersFunctionldap_search
Replaces uldaps search and uses a generator. !! Arguments are not the same.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/univention_umc.py:140
↓ 12 callersFunctionlist_pritunl_organizations
( api_token, api_secret, base_url, validate_certs=True, filters=None )
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/net_tools/pritunl/api.py:150
↓ 12 callersMethodmerge
(self, other_tracker)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/util.py:244
↓ 12 callersFunctionproxmox_auth_argument_spec
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/proxmox.py:26
↓ 12 callersMethodquery
(self, resource, method, data=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/dnsmadeeasy.py:416
↓ 12 callersMethodresource_absent
Generic implementation of the absent state for the OneView resources. It checks if the resource needs to be removed. :arg d
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneview.py:296
↓ 12 callersMethodrun_command
This method will run the any command specified and return the returns using the Ansible common module
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/ejabberd_user.py:113
↓ 12 callersFunctionrun_pkgng
(action, *args, **kwargs)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pkgng.py:471
↓ 12 callersFunctionrun_pkgng
(action, *args, **kwargs)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/pkgng.py:471
↓ 12 callersMethodset_options
(self, task_keys=None, var_options=None, direct=None)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/nrdp.py:100
↓ 12 callersMethodset_service_type
Set service type to given VMKernel Args: vnic_manager: Virtual NIC manager object vmk: VMkernel managed objec
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_vmkernel.py:954
↓ 12 callersFunctionspectrum_accelerate_spec
Return arguments spec for AnsibleModule
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ibm_sa_utils.py:65
↓ 12 callersFunctionumc_module_for_add
Returns an UMC module object prepared for creating a new entry. The module is a module specification according to the udm commandline. Exampl
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/univention_umc.py:203
↓ 11 callersMethod__setattr__
(self, key, value)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/mh/mixins/vars.py:78
↓ 11 callersMethod_command
(self, args_list)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/hg.py:103
↓ 11 callersMethod_command
(self, args_list)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/source_control/hg.py:103
↓ 11 callersMethod_get_value
(param_name, param_value, env_variable, default_value)
Chapter-10/collections/ansible_collections/community/docker/plugins/module_utils/common.py:340
↓ 11 callersMethod_get_value
(param_name, param_value, env_variable, default_value)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/common.py:262
↓ 11 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_otpconfig.py:44
↓ 11 callersMethodadd
(self)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/elbv2.py:652
↓ 11 callersMethodaggregate_systems
(self, func)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:485
↓ 11 callersFunctionboto3_tag_specifications
Converts a list of resource types and a flat dictionary of key:value pairs representing AWS resource tags to a TagSpecification object. http
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:107
↓ 11 callersFunctionboto3_tag_specifications
Converts a list of resource types and a flat dictionary of key:value pairs representing AWS resource tags to a TagSpecification object. http
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:107
↓ 11 callersFunctionconnect_to_api
(module, disconnect_atexit=True, return_si=False, hostname=None, username=None, password=None, port=None, vali
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:686
↓ 11 callersMethodexists
This method will check to see if the supplied username exists for host specified. If the user exists True is returned, otherwise False
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/ejabberd_user.py:100
↓ 11 callersFunctionf
(m)
Chapter-07/collections/ansible_collections/community/general/tests/sanity/extra/botmeta.py:176
↓ 11 callersMethodfail
(self, msg, **kwargs)
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vca.py:200
↓ 11 callersMethodfind_obj
Wrapper around find_obj to set datacenter context
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_guest.py:1075
↓ 11 callersFunctionfind_stream
Retrieve a Kinesis Stream. Args: client (botocore.client.EC2): Boto3 client. stream_name (str): Name of the Kinesis stream. B
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/kinesis_stream.py:229
↓ 11 callersMethodflush
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/diy.py:799
↓ 11 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_storage_bucket.py:1325
↓ 11 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_instance_template.py:1672
↓ 11 callersMethodgather_facts
(self, vm)
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_guest.py:1153
↓ 11 callersFunctionget_aws_connection_info
(module, boto3=False)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:247
↓ 11 callersFunctionhandle_waiter
(conn, module, waiter_name, params, start_time)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/modules/ec2_vpc_subnet.py:258
↓ 11 callersFunctionhandle_waiter
(conn, module, waiter_name, params, start_time)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/modules/ec2_vpc_subnet.py:258
↓ 11 callersMethodmodify
(self, hostname, data)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/icinga2_host.py:202
↓ 11 callersMethodmodify
(self, hostname, data)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/monitoring/icinga2_host.py:202
↓ 11 callersMethodnew
(module, remote=False)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/packaging/language/test_gem.py:39
↓ 11 callersMethodpop
(self, path)
Chapter-07/collections/ansible_collections/community/vmware/tests/unit/mock/loader.py:103
↓ 11 callersMethodrun
run This function contains the "transaction logic" where as all operations follow a similar pattern in order to perform thei
Chapter-07/collections/ansible_collections/ansible/posix/plugins/module_utils/firewalld.py:163
↓ 11 callersMethodruntest
(self, fixturepath='fixtures/synchronize/basic')
Chapter-07/collections/ansible_collections/ansible/posix/tests/unit/plugins/action/test_synchronize.py:123
↓ 11 callersMethodvmware_client_argument_spec
()
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware_rest_client.py:94
↓ 10 callersMethod__init__
(self, module, action_args=None, zone=None, desired_state=None, permanent=False, immediate=False)
Chapter-07/collections/ansible_collections/ansible/posix/plugins/modules/firewalld.py:390
↓ 10 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/oneandone_firewall_policy.py:227
↓ 10 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/oneandone_load_balancer.py:282
↓ 10 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/oneandone/oneandone_firewall_policy.py:227
↓ 10 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/oneandone/oneandone_load_balancer.py:282
↓ 10 callersMethod_current_package_is_installed
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/homebrew.py:468
↓ 10 callersMethod_current_package_is_installed
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/homebrew.py:468
↓ 10 callersMethod_get_json
(self, url, ignore_errors=None)
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/proxmox.py:183
↓ 10 callersMethod_needs_to_change_container_config
(self, key)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/lxd_container.py:568
↓ 10 callersMethod_needs_to_change_container_config
(self, key)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/lxd/lxd_container.py:568
↓ 10 callersFunction_raise_or_fail
(msg)
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:704
↓ 10 callersFunction_to_native_ascii
(s)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/archive.py:258
↓ 10 callersFunction_to_native_ascii
(s)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/files/archive.py:258
↓ 10 callersMethod_wait_for_status
Wait for status to change from present status to awaited_status
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/elasticache.py:350
↓ 10 callersFunctionapi_request
Manages Rundeck API requests via HTTP(S) :arg module: The AnsibleModule (used to get url, api_version, api_token, etc). :arg endpoint: The
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rundeck.py:30
↓ 10 callersMethodarray_to_string
Return string from array
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_host_dns.py:412
↓ 10 callersMethodclose
Close connection.
Chapter-07/collections/ansible_collections/community/vmware/plugins/connection/vmware_tools.py:357
↓ 10 callersFunctionconnect_to_acs
(acs_module, region, **params)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/alicloud_ecs.py:83
↓ 10 callersMethodconnect_to_influxdb
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/influxdb.py:69
↓ 10 callersMethoddelete_tags
Delete elb tags :return:
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/elbv2.py:142
↓ 10 callersMethoddiff
Calculate the difference between given 2 phases. Args: phase1, phase2: The names of phase to compare. Returns:
Chapter-07/collections/ansible_collections/community/general/plugins/modules/timezone.py:191
↓ 10 callersMethoddiff
Calculate the difference between given 2 phases. Args: phase1, phase2: The names of phase to compare. Returns:
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/timezone.py:191
↓ 10 callersMethodensure_present
Ensure cache cluster exists or create it if not
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/elasticache.py:175
↓ 10 callersFunctionfinish
(module, tree, xpath, namespaces, changed=False, msg='', hitcount=0, matches=tuple())
Chapter-07/collections/ansible_collections/community/general/plugins/modules/xml.py:799
↓ 10 callersFunctionfinish
(module, tree, xpath, namespaces, changed=False, msg='', hitcount=0, matches=tuple())
Chapter-07/collections/ansible_collections/community/general/plugins/modules/files/xml.py:799
↓ 10 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_instance.py:1852
↓ 10 callersFunctionget_ec2_security_group_ids_from_names
Return list of security group IDs from security group names. Note that security group names are not unique across VPCs. If a name exists across
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:465
↓ 10 callersMethodget_folder
Get managed object of folder by name Returns: Managed object of folder by name
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vcenter_folder.py:322
↓ 10 callersMethodget_info
(self)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/sns_topic.py:544
↓ 10 callersMethodget_pool_id
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/redhat_subscription.py:634
↓ 10 callersMethodget_pool_id
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/redhat_subscription.py:634
↓ 10 callersFunctionget_rds_method_attribute
(method_name, module)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/rds.py:39
↓ 10 callersMethodinfluxdb_argument_spec
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/influxdb.py:53
↓ 10 callersMethodmd5
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:186
↓ 10 callersFunctionquery_port
Returns whether a port is installed or not.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/macports.py:146
↓ 10 callersFunctionquery_port
Returns whether a port is installed or not.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/os/macports.py:146
↓ 10 callersFunctionrax_find_image
Find a server image by ID or Name
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rax.py:117
↓ 10 callersMethodremove
(self)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_swarm.py:571
↓ 10 callersFunctionrename_item_if_exists
(dict_object, attribute, new_attribute, child_node=None, attribute_type=None)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/modules/ec2_ami.py:694
↓ 10 callersFunctionrename_item_if_exists
(dict_object, attribute, new_attribute, child_node=None, attribute_type=None)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/modules/ec2_ami.py:694
↓ 10 callersMethodresource_present
Generic implementation of the present state for the OneView resources. It checks if the resource needs to be created or updated.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneview.py:325
↓ 10 callersMethodresource_scopes_set
Generic implementation of the scopes update PATCH for the OneView resources. It checks if the resource needs to be updated with the c
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneview.py:364
↓ 10 callersMethodrun_module
trigger the start of the execution of the module. Returns:
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/opennebula.py:294
↓ 10 callersFunctionsanitize_cr
Removes probably sensitive details from a client representation. :param clientrep: the clientrep dict to be sanitized :return: sanitized cli
Chapter-07/collections/ansible_collections/community/general/plugins/modules/keycloak_client.py:718
↓ 10 callersFunctionsanitize_cr
Removes probably sensitive details from a client representation. :param clientrep: the clientrep dict to be sanitized :return: sanitized cli
Chapter-07/collections/ansible_collections/community/general/plugins/modules/identity/keycloak/keycloak_client.py:718
↓ 10 callersFunctionscrub_none_parameters
Iterate over a dictionary removing any keys that have a None value Reference: https://github.com/ansible-collections/community.aws/issues/25
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:409
↓ 10 callersFunctionsetup_req
returns dependencies for VPN connections
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/test_ec2_vpc_vpn.py:354
↓ 10 callersMethodstop
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/svc.py:209
↓ 10 callersFunctionuldap
Return a configured univention uldap object
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/univention_umc.py:87
↓ 10 callersMethodupdate
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/packaging/language/npm.py:243
↓ 10 callersMethodvalid_package
A valid package is either None or alphanumeric.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/homebrew.py:269
↓ 10 callersMethodwait
( self, resource, definition, sleep, timeout, state="present",
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/common.py:590
↓ 10 callersFunctionwait_for
Helper method to wait for desired value returned by callback method
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/efs.py:702
↓ 10 callersFunctionwait_to_complete_state_transition
(compute_api, server, wait=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/scaleway_compute.py:216
↓ 10 callersFunctionwait_to_complete_state_transition
(compute_api, server, wait=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/scaleway/scaleway_compute.py:216
↓ 9 callersMethod_add_child
Add a child group to a parent group in the given inventory.
Chapter-07/collections/ansible_collections/community/vmware/scripts/inventory/vmware.py:295
↓ 9 callersMethod_add_host
(self, result, status)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/dense.py:199
← previousnext →401–500 of 21,084, ranked by callers