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

↓ 5,808 callersMethodfail_json
(self, **args)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/source_control/gitlab/gitlab.py:23
↓ 4,466 callersMethodget
This method should be avoided in favor of full_get
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:84
↓ 3,200 callersMethodappend
(self, pamd_line)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py:458
↓ 2,888 callersMethodget
(self, url)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/jira.py:697
↓ 2,513 callersMethodget
(self, policy_name)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/iam_policy.py:158
↓ 2,412 callersMethodexit_json
(self, **args)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/source_control/gitlab/gitlab.py:26
↓ 2,330 callersMethodget
(self, key)
Chapter-07/collections/ansible_collections/community/general/plugins/lookup/etcd.py:133
↓ 2,157 callersMethodget
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/clustering/znode.py:194
↓ 1,341 callersMethodfail_json
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/test_ec2_vpc_vpn.py:32
↓ 1,315 callersMethodget
(transport, play_context, new_stdin)
Chapter-07/collections/ansible_collections/ansible/posix/tests/unit/plugins/action/test_synchronize.py:198
↓ 1,193 callersMethodjoin
(self)
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_swarm.py:562
↓ 988 callersMethodappend
(self, pamd_line)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/pamd.py:458
↓ 982 callersMethodupdate
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/hg.py:188
↓ 830 callersMethoditems
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:325
↓ 793 callersFunctionremove_nones_from_dict
(obj)
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:50
↓ 779 callersMethodfail_json_aws
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/test_ec2_vpc_vpn.py:27
↓ 763 callersFunctionnavigate_value
(data, index, array_index=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:368
↓ 685 callersMethodget
(self, rule_type, rule_control, rule_path)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/pamd.py:485
↓ 671 callersFunctionnavigate_hash
(source, path, default=None)
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:31
↓ 625 callersMethodexit_json
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:164
↓ 557 callersMethodrun_command
Runs a monit command, and returns the new status.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/monit.py:191
↓ 546 callersMethodfail_json
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:169
↓ 545 callersMethodlower
(self)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/common.py:161
↓ 543 callersMethodget
Same as search, but will throw an error if there are multiple or no results. If there are multiple results and only one is an exact m
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/client/discovery.py:153
↓ 537 callersMethodget
Retrieve credentials for `server` if there are any in the config file. Otherwise raise a `StoreError`
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_login.py:213
↓ 533 callersMethodget
Retrieve credentials for `server` if there are any in the config file. Otherwise raise a `StoreError`
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_login.py:211
↓ 477 callersMethodfail_json_aws
call fail_json with processed exception function for converting exceptions thrown by AWS SDK modules, botocore, boto3 and boto, into
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:204
↓ 456 callersMethodexit_json
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/test_ec2_vpc_vpn.py:37
↓ 438 callersMethodfail_json
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_dns_resource_record_set.py:386
↓ 394 callersMethodmain
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/ldap_search.py:158
↓ 393 callersMethodfail_json_aws
call fail_json with processed exception function for converting exceptions thrown by AWS SDK modules, botocore, boto3 and boto, into
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:204
↓ 392 callersMethodget
(self, path, data=None, headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/online.py:106
↓ 312 callersMethodupdate
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/source_control/hg.py:188
↓ 292 callersMethodrun_command
Runs a monit command, and returns the new status.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/monitoring/monit.py:191
↓ 292 callersFunctionset_module_args
(args)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/utils.py:14
↓ 266 callersMethodmatch
(self, name)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:189
↓ 247 callersMethodread
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cronvar.py:137
↓ 244 callersMethodcopy
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/cache/redis.py:234
↓ 240 callersFunctionis_empty_value
(v)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:437
↓ 238 callersMethodrun_command
Runs the specified command within a functional D-Bus session. Command is effectively passed-on to AnsibleModule.run_command() method,
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/dconf.py:206
↓ 237 callersMethoddebug
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:174
↓ 235 callersFunctionis_boto3_error_code
Check if the botocore exception is raised by a specific error code. Returns ClientError if the error code matches, a dummy exception if it does n
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:351
↓ 216 callersMethodgroup
Search for group object by description. Returns: the group, or None if group was not found.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/manageiq_group.py:235
↓ 213 callersMethod_post_json
(self, method, name, item=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:116
↓ 192 callersMethodfail_json
(self, *args, **kwargs)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:169
↓ 189 callersMethodclient
(self, service, retry_decorator=None)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:189
↓ 179 callersMethodjson
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/online.py:39
↓ 179 callersMethodkeys
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/cache/redis.py:216
↓ 173 callersMethoditems
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:325
↓ 169 callersMethodpop
(self, path)
Chapter-07/collections/ansible_collections/community/general/tests/unit/mock/loader.py:89
↓ 166 callersMethodraise_for_status
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_dns_resource_record_set.py:389
↓ 159 callersMethodpatch
(self, path, data=None, headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/online.py:118
↓ 158 callersMethodpaginate
(self, url)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/github_deploy_key.py:215
↓ 156 callersMethodgroup
Search for group object by description. Returns: the group, or None if group was not found.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/remote_management/manageiq/manageiq_group.py:235
↓ 156 callersMethodupdate
(self, description, addresses)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/wafv2_ip_set.py:180
↓ 149 callersMethodkeys
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:319
↓ 146 callersMethodget_request
(self, uri)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py:64
↓ 145 callersFunctionvmware_argument_spec
()
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:652
↓ 144 callersMethodexit_json
(self, *args, **kwargs)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:164
↓ 144 callersFunctionreplace_resource_dict
(item, value)
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:64
↓ 140 callersMethodrun
Runs a command of the `mas` tool
Chapter-07/collections/ansible_collections/community/general/plugins/modules/mas.py:225
↓ 138 callersFunctionsetMsg
(message)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/rhevm.py:1254
↓ 138 callersFunctionsetMsg
(message)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/misc/rhevm.py:1254
↓ 137 callersMethodget
(self, key)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/lookup/test_etcd3.py:35
↓ 135 callersMethodexists
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/zfs.py:131
↓ 131 callersMethodclient
(self, region, service_type, service_level)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:161
↓ 129 callersMethodpost
This method should be avoided in favor of full_post
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:91
↓ 124 callersFunctionget_region
(module)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:430
↓ 117 callersFunctionboto3_tag_list_to_ansible_dict
Convert a boto3 list of resource tags to a flat dict of key:value pairs Args: tags_list (list): List of dicts representing AWS tags.
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:37
↓ 116 callersMethodkeys
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:319
↓ 114 callersMethodwrite
Write the crontab to the system. Saves all information.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cronvar.py:169
↓ 107 callersMethodmatch
(self, name)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:189
↓ 104 callersMethodread
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/cronvar.py:137
↓ 103 callersMethodadd
(self, name, parameter=None, active=None)
Chapter-10/collections/ansible_collections/community/docker/plugins/module_utils/common.py:887
↓ 102 callersMethodadd
(self, name, parameter=None, active=None)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/util.py:237
↓ 102 callersMethodfail
(self, msg)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_image.py:415
↓ 102 callersMethodfail
(self, msg)
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_image.py:417
↓ 102 callersMethodremove
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:262
↓ 100 callersFunctionis_boto3_error_code
Check if the botocore exception is raised by a specific error code. Returns ClientError if the error code matches, a dummy exception if it does n
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:351
↓ 100 callersMethodwait
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/znode.py:204
↓ 99 callersMethodclient
(self, resource='lambda')
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/lambda_event.py:173
↓ 99 callersMethodpop
(self, path)
Chapter-07/collections/ansible_collections/amazon/aws/tests/unit/mock/loader.py:103
↓ 98 callersFunctionbuild_path
(module, path, kv=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:410
↓ 97 callersMethodget
(self, key)
Chapter-07/collections/ansible_collections/community/general/plugins/cache/redis.py:183
↓ 96 callersMethodclose
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/archive.py:488
↓ 94 callersMethodwarn
(self, x)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/scaleway.py:165
↓ 90 callersFunctionwait_for_task
Wait for given task using exponential back-off algorithm. Args: task: VMware task object max_backoff: Maximum amount of sleep tim
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:118
↓ 87 callersMethoddelete
Delete network namespace
Chapter-07/collections/ansible_collections/community/general/plugins/modules/ip_netns.py:91
↓ 87 callersMethodinfo
(self)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/database/misc/test_redis_info.py:19
↓ 86 callersMethoddelete
This method should be avoided in favor of full_delete
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:105
↓ 84 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_url_map.py:6043
↓ 84 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_url_map.py:6040
↓ 82 callersMethodclose
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/files/archive.py:488
↓ 82 callersMethodjittered_backoff
Retry calling the Cloud decorated function using a jittered backoff strategy. More on this strategy here: https://www.awsarc
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/cloud.py:172
↓ 82 callersMethodlist
This should be used for calling the GCP list APIs. It will return an array of items This takes a callback to a `return_if_ob
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:126
↓ 79 callersMethodjoin
(self)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_swarm.py:543
↓ 79 callersMethodlog
(self, msg, pretty_print=False)
Chapter-10/collections/ansible_collections/community/docker/plugins/module_utils/common.py:173
↓ 79 callersMethodlog
(self, msg, pretty_print=False)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/util.py:97
↓ 78 callersMethodjittered_backoff
Wrap a callable with retry behavior. Args: retries (int): Number of times to retry a failed request before giving up
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/cloud.py:157
↓ 78 callersMethodjittered_backoff
Wrap a callable with retry behavior. Args: retries (int): Number of times to retry a failed request before giving up
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/cloud.py:157
next →1–100 of 21,084, ranked by callers