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

↓ 16 callersMethodmatches
(self, rule_type, rule_control, rule_path, rule_args=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py:301
↓ 16 callersMethodregister
Register system to RHN. If enable_eus=True, extended update support will be requested.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/rhn_register.py:258
↓ 16 callersMethodrequest
(self, method, url, data=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/source_control/github/github_key.py:113
↓ 16 callersMethodto_safe
Converts 'bad' characters in a string to underscores so they can be used as Ansible groups #> ProxmoxInventory.to_safe("foo-bar baz")
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/proxmox.py:348
↓ 16 callersMethodupdate
The update method will update the credentials for the user provided
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/ejabberd_user.py:121
↓ 15 callersMethodClient
(vault_parameters)
Chapter-07/collections/ansible_collections/community/general/plugins/lookup/dsv.py:107
↓ 15 callersMethod_fail
(self, msg)
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_content_deploy_ovf_template.py:336
↓ 15 callersFunctioncall_with_backoff
(fn, **kwargs)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oracle/oci_utils.py:1656
↓ 15 callersFunctiondescribe_ec2_tags
Performs a paginated search of EC2 resource tags. :param client: an EC2 boto3 client :param module: an AnsibleAWSModule object :para
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:639
↓ 15 callersMethodfail
(self, msg)
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:1573
↓ 15 callersFunctionfake_xenapi_ref
(xenapi_class)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/cloud/xenserver/common.py:10
↓ 15 callersMethodfind_cluster_by_name
Find Cluster by name in given datacenter Args: cluster_name: Name of cluster name to find datacenter_name: (o
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:1382
↓ 15 callersMethodfind_collection_resource_by
Searches the collection resource by the collection name and the param passed. Returns: the resource as an object if it exists in
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/manageiq.py:131
↓ 15 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_bigquery_table.py:1307
↓ 15 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_cloudbuild_trigger.py:1773
↓ 15 callersMethodget
(self, path, data=None, headers=None, params=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/scaleway.py:147
↓ 15 callersFunctionget_aws_connection_info
(module, boto3=False)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:247
↓ 15 callersMethodget_datacenter
(self)
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_datacenter.py:91
↓ 15 callersMethodpost_request
(self, uri, pyld)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:90
↓ 15 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_cloudbuild_trigger.py:1768
↓ 15 callersMethodupdate_rule
(self, rule_type, rule_control, rule_path, new_type=None, new_control=None, new_path=None,
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py:502
↓ 14 callersMethod_fail
(self, msg)
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_content_deploy_template.py:345
↓ 14 callersMethod_find_managers_resource
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:326
↓ 14 callersMethodadd
(self)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/elbv2.py:652
↓ 14 callersFunctionbase_dn
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/univention_umc.py:83
↓ 14 callersMethodconnect
(self, port=None)
Chapter-07/collections/ansible_collections/community/general/plugins/connection/funcd.py:59
↓ 14 callersMethodcopy
(self)
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_guest_file_operation.py:380
↓ 14 callersFunctionensure_ec2_tags
Updates the tags on an EC2 resource. To remove all tags the tags parameter must be explicitly set to an empty dictionary. :param client
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:668
↓ 14 callersMethodfail
(self, msg)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:1564
↓ 14 callersMethodget_error_message
Helper function to show human readable error messages.
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware_rest_client.py:61
↓ 14 callersFunctionget_firewall_policy
Validates the firewall policy exists by ID or name. Return the firewall policy ID.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneandone.py:107
↓ 14 callersFunctionget_load_balancer
Validates the load balancer exists by ID or name. Return the load balancer ID.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneandone.py:120
↓ 14 callersFunctionget_private_network
Validates the private network exists by ID or name. Return the private network ID.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneandone.py:81
↓ 14 callersFunctionhas_list_changed
Check two lists have differences. Sort lists by default.
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_swarm_service.py:1115
↓ 14 callersFunctionhas_list_changed
Check two lists have differences. Sort lists by default.
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_swarm_service.py:1117
↓ 14 callersMethodlog
This method will log information to the local syslog facility
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/ejabberd_user.py:107
↓ 14 callersFunctionmock_fixture
(open_url_mock, fixture=None, data=None, headers=None)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/lookup/test_manifold.py:188
↓ 14 callersMethodrequest
Send a request to API backend and pre-process a response. :param api: API to send a request to :type api: str :param
Chapter-07/collections/ansible_collections/community/general/plugins/lookup/manifold.py:87
↓ 14 callersMethodrun
:arg terms: a list of lookups to run. e.g. ['parameter_name', 'parameter_name_too' ] :kwarg variables: ansibl
Chapter-07/collections/ansible_collections/amazon/aws/plugins/lookup/aws_ssm.py:174
↓ 14 callersMethodrun
:arg terms: a list of lookups to run. e.g. ['parameter_name', 'parameter_name_too' ] :kwarg variables: ansibl
Chapter-05/collections/ansible_collections/amazon/aws/plugins/lookup/aws_ssm.py:174
↓ 14 callersFunctiontear_down_conn
(placeboify, connection, vpn_connection_id)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/test_ec2_vpc_vpn.py:119
↓ 14 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_bigquery_table.py:1297
↓ 14 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_instance.py:1849
↓ 14 callersMethodto_text
(self, value)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/mh/mixins/cmd.py:81
↓ 14 callersMethodupdate
Update permissions as per module arguments.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/storage/zfs/zfs_delegate_admin.py:221
↓ 14 callersFunctionwait_for_resource_creation_completion
Waits for the resource create operation to complete based on the timeout period.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneandone.py:194
↓ 14 callersMethodwait_for_task
Wait for a VMware task to complete. Terminal states are 'error' and 'success'. Inputs: - task: the task to wait for
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_guest.py:3187
↓ 14 callersMethodwrite
(self, str)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/socket_handler.py:202
↓ 13 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/oneandone_monitoring_policy.py:453
↓ 13 callersFunction_check_mode
(module, result)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py:453
↓ 13 callersMethod_run_command
Return information from running an Ansible Command. This will squash the build command list into a string and then execute the comman
Chapter-07/collections/ansible_collections/community/general/plugins/modules/lxc_container.py:689
↓ 13 callersMethod_run_command
Return information from running an Ansible Command. This will squash the build command list into a string and then execute the comman
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/lxc/lxc_container.py:689
↓ 13 callersMethodadd
Adds the given rule to this collection. :param rule: model of a rule :raises ValueError: raised if there already exists a rul
Chapter-07/collections/ansible_collections/community/general/plugins/modules/clustering/consul/consul_acl.py:595
↓ 13 callersMethodconfigure_mocks
Preload mocked OneViewClient instance and AnsibleModule Args: test_case (object): class instance (self) that are inheriti
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/remote_management/oneview/hpe_test_utils.py:100
↓ 13 callersMethoddeprecate
(self, *args, **kwargs)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:180
↓ 13 callersMethodfail
(self, msg=None)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/common.py:552
↓ 13 callersMethodfail_with_error
log an error to std err for ansible-playbook to consume and exit
Chapter-07/collections/ansible_collections/community/aws/scripts/inventory/ec2.py:860
↓ 13 callersMethodfind_datacenter_by_name
Get datacenter managed object by name Args: datacenter_name: Name of datacenter Returns: datacenter managed obj
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:1549
↓ 13 callersMethodfind_image
Lookup an image (by name and tag) and return the inspection results.
Chapter-10/collections/ansible_collections/community/docker/plugins/module_utils/common.py:505
↓ 13 callersMethodfind_image
Lookup an image (by name and tag) and return the inspection results.
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/common.py:427
↓ 13 callersMethodflush
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/cache/redis.py:230
↓ 13 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_region_backend_service.py:1796
↓ 13 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_backend_service.py:1757
↓ 13 callersMethodget_field
(self, key, field)
Chapter-07/collections/ansible_collections/community/general/plugins/lookup/lastpass.py:80
↓ 13 callersFunctionget_properties
(autoscaling_group)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/ec2_asg.py:773
↓ 13 callersMethodget_user
(self, userid)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/proxmox_user_info.py:163
↓ 13 callersMethodhas_rule
(self, rule_type, rule_control, rule_path)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py:497
↓ 13 callersMethodrun_command
(self, command, environ_update=None)
Chapter-11/collections/ansible_collections/kubernetes/core/tests/unit/module_utils/test_helm.py:35
↓ 13 callersMethodsay
(self, msg, voice)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/osx_say.py:72
↓ 13 callersMethodsay
(self, msg, voice)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/say.py:72
↓ 13 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_storage_bucket.py:1322
↓ 13 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_instance_template.py:1669
↓ 13 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_region_backend_service.py:1793
↓ 13 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_backend_service.py:1754
↓ 13 callersMethodverify_file
Check the config Return true/false if the config-file is valid for this plugin Args: str(path): path to the config
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/lxd.py:198
↓ 12 callersMethod_add
(self, data, key, attr=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/consul.py:551
↓ 12 callersMethod_add
(self, data, key, attr=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/clustering/consul/consul.py:551
↓ 12 callersMethod_get_api_call_ansible_handler
Perform the HTTPS request by using ansible get/delete method
Chapter-07/collections/ansible_collections/community/general/plugins/modules/infinity.py:141
↓ 12 callersMethod_get_api_call_ansible_handler
Perform the HTTPS request by using ansible get/delete method
Chapter-07/collections/ansible_collections/community/general/plugins/modules/net_tools/infinity/infinity.py:141
↓ 12 callersMethod_get_container
Expects container ID or Name. Returns a container object
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:2977
↓ 12 callersMethod_get_container
Expects container ID or Name. Returns a container object
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:3023
↓ 12 callersMethod_get_state
Return the state of a container. If the container is not found the state returned is "absent" :returns: state of a container as a lo
Chapter-07/collections/ansible_collections/community/general/plugins/modules/lxc_container.py:921
↓ 12 callersMethod_get_state
Return the state of a container. If the container is not found the state returned is "absent" :returns: state of a container as a lo
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/lxc/lxc_container.py:921
↓ 12 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_pwpolicy.py:44
↓ 12 callersMethodabort
Abort the process with error message. This is just the wrapper of module.fail_json(). Args: msg: The error message.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/timezone.py:157
↓ 12 callersMethodabort
Abort the process with error message. This is just the wrapper of module.fail_json(). Args: msg: The error message.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/timezone.py:157
↓ 12 callersMethodaction_handler
Function to wrap calls to make actions on firewalld in try/except logic and emit (hopefully) useful error messages
Chapter-07/collections/ansible_collections/ansible/posix/plugins/module_utils/firewalld.py:105
↓ 12 callersMethodarray_to_string
Return string from array
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_host_ntp.py:348
↓ 12 callersFunctioncheckFail
()
Chapter-07/collections/ansible_collections/community/general/plugins/modules/rhevm.py:1237
↓ 12 callersFunctioncheckFail
()
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/misc/rhevm.py:1237
↓ 12 callersFunctionconnect_ssl
(module)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ibm_sa_utils.py:46
↓ 12 callersFunctiondescribe_ec2_tags
Performs a paginated search of EC2 resource tags. :param client: an EC2 boto3 client :param module: an AnsibleAWSModule object :para
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:639
↓ 12 callersMethodexecute_module
(self, failed=False, changed=False, script=None)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/system/test_parted.py:154
↓ 12 callersFunctionfind_cluster_by_name
(content, cluster_name, datacenter=None)
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:218
↓ 12 callersFunctionfind_object_by_name
(content, name, obj_type, folder=None, recurse=True)
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:201
↓ 12 callersMethodfind_resource
(self, kind, api_version, fail=False)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/common.py:369
↓ 12 callersFunctiongather_vm_facts
Gather facts from vim.VirtualMachine object.
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:409
↓ 12 callersMethodget_by_name
Generic get by name implementation. :arg str name: Resource name to search for. :return: The resource found or None.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oneview.py:314
↓ 12 callersMethodget_executions_representation
Get a representation of the executions for an authentication flow. :param config: Representation of the authentication flow :
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/identity/keycloak/keycloak.py:1415
↓ 12 callersFunctionis_pyxcli_installed
(module)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ibm_sa_utils.py:92
← previousnext →301–400 of 21,084, ranked by callers