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

↓ 77 callersMethodstart
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/svc.py:203
↓ 76 callersMethodwarn
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:177
↓ 74 callersFunctionansible_dict_to_boto3_filter_list
Convert an Ansible dict of filters to list of dicts that boto3 can use Args: filters_dict (dict): Dict of AWS filters. Basic Usage:
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:425
↓ 73 callersMethodlogin
(self, username, password)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:61
↓ 73 callersMethodpost
(self, url, data, content_type='application/json', additional_headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/jira.py:690
↓ 72 callersFunctionare_different_dicts
(dict1, dict2)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:441
↓ 72 callersMethodpost
(self, url, data, content_type='application/json', additional_headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/jira.py:690
↓ 71 callersMethodupdate
Update the listeners for the ELB :return:
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/elbv2.py:492
↓ 70 callersMethodexists
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/beadm.py:191
↓ 69 callersMethodwrite
Write the crontab to the system. Saves all information.
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/cronvar.py:169
↓ 67 callersMethodlist
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/npm.py:207
↓ 66 callersFunctionrax_to_dict
Generic function to convert a pyrax object to a dict obj_type values: standard clb server
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rax.py:52
↓ 66 callersMethodvalues
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:322
↓ 65 callersMethoddelete
Delete network namespace
Chapter-07/collections/ansible_collections/community/general/plugins/modules/net_tools/ip_netns.py:91
↓ 64 callersMethodexecute
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pids.py:190
↓ 64 callersMethodexecute
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/pids.py:190
↓ 63 callersMethodadd_host
(self, host)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/elastic.py:115
↓ 63 callersMethodremove
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:262
↓ 62 callersMethoditems
(self)
Chapter-07/collections/ansible_collections/ansible/posix/plugins/modules/authorized_key.py:275
↓ 61 callersFunctionansible_dict_to_boto3_tag_list
Convert a flat dict of key:value pairs representing AWS resource tags to a boto3 list of dicts Args: tags_dict (dict): Dict representing
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:74
↓ 61 callersMethodboolean
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:183
↓ 58 callersMethodisMatching
(self, definition)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/selector.py:73
↓ 58 callersMethodstop
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/svc.py:209
↓ 58 callersMethodupdate
Update the listeners for the ELB :return:
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/elbv2.py:492
↓ 57 callersMethoddifference
(self, response)
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:345
↓ 55 callersMethodfail
(self, msg, **kwargs)
Chapter-10/collections/ansible_collections/community/docker/plugins/module_utils/common.py:692
↓ 55 callersMethodfail
(self, msg, **kwargs)
Chapter-06/collections/ansible_collections/community/docker/plugins/module_utils/common.py:614
↓ 55 callersMethodpop
(self, path)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/mock/loader.py:103
↓ 54 callersMethodget
(self, url)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/web_infrastructure/jira.py:697
↓ 54 callersMethodwrite
(self, b)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/diy.py:802
↓ 53 callersMethodadd
(self, path, archive_name)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/archive.py:316
↓ 52 callersFunctionansible_dict_to_boto3_filter_list
Convert an Ansible dict of filters to list of dicts that boto3 can use Args: filters_dict (dict): Dict of AWS filters. Basic Usage:
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/ec2.py:425
↓ 52 callersFunctionmemset_api_call
Generic function which returns results back to calling function. Requires an API key and an API method to assemble the API URL. Returns
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/memset.py:33
↓ 52 callersFunctionrax_argument_spec
Return standard base dictionary used for the argument_spec argument in AnsibleModule
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rax.py:224
↓ 52 callersFunctionrax_required_together
Return the default list used for the required_together argument to AnsibleModule
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rax.py:243
↓ 52 callersFunctionsetup_rax_module
Set up pyrax in a standard way for all modules
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/rax.py:249
↓ 51 callersMethodcreate
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/zfs.py:139
↓ 48 callersFunctioncompare_aws_tags
Compare two dicts of AWS tags. Dicts are expected to of been created using 'boto3_tag_list_to_ansible_dict' helper function. Two dicts are re
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:151
↓ 48 callersMethodfrom_response
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_region_url_map.py:4156
↓ 48 callersMethodto_request
(self)
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_region_url_map.py:4153
↓ 47 callersMethodload
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/launchd.py:334
↓ 47 callersMethodpush_group
Push a group as a child of another group.
Chapter-07/collections/ansible_collections/community/aws/scripts/inventory/ec2.py:1646
↓ 46 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-05/collections/ansible_collections/amazon/aws/plugins/module_utils/tagging.py:37
↓ 46 callersMethodmodify_if_diff
(self, name, ipa_list, module_list, add_method, remove_method, item=None, append=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:182
↓ 46 callersFunctionsetFailed
()
Chapter-07/collections/ansible_collections/community/general/plugins/modules/rhevm.py:1244
↓ 46 callersFunctionsetFailed
()
Chapter-07/collections/ansible_collections/community/general/plugins/modules/cloud/misc/rhevm.py:1244
↓ 43 callersMethod_execute_module
(self, module_name, module_args=None, task_vars=None)
Chapter-07/collections/ansible_collections/ansible/posix/tests/unit/plugins/action/test_synchronize.py:117
↓ 43 callersMethodfail
(self, msg, exn)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ldap.py:60
↓ 43 callersMethodto_safe
Converts 'bad' characters in a string to underscores so they can be used as Ansible groups
Chapter-07/collections/ansible_collections/community/aws/scripts/inventory/ec2.py:1680
↓ 42 callersMethod_using_diy
(self, spec)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/diy.py:849
↓ 42 callersFunctioncolorize
Given a string add necessary codes to format the string.
Chapter-07/collections/ansible_collections/community/general/plugins/callback/selective.py:79
↓ 42 callersMethoddeprecate
(self, *args, **kwargs)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:180
↓ 42 callersMethodpush
Push an element onto an array that may not have been defined in the dict
Chapter-07/collections/ansible_collections/community/aws/scripts/inventory/ec2.py:1636
↓ 41 callersMethodsend
(self, method, path, data=None, headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/online.py:84
↓ 40 callersMethodset
(self, backing_device, password, opts)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/crypttab.py:222
↓ 40 callersMethodupdate
(self, path, data=None, headers=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/online.py:121
↓ 39 callersFunctioncopy
Copy an ElastiCache backup.
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/elasticache_snapshot.py:138
↓ 39 callersMethodpop
(self, path)
Chapter-05/collections/ansible_collections/amazon/aws/tests/unit/mock/loader.py:103
↓ 38 callersMethodcreate
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/storage/zfs/zfs.py:139
↓ 38 callersMethoddebugl
(self, text)
Chapter-07/collections/ansible_collections/community/vmware/scripts/inventory/vmware_inventory.py:153
↓ 37 callersFunction_debug
(s)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/oracle/oci_utils.py:406
↓ 37 callersMethodclient
(self, service, retry_decorator=None)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:189
↓ 37 callersMethodget_all_host_objs
Get all host system managed object Args: cluster_name: Name of Cluster esxi_host_name: Name of ESXi server
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py:1422
↓ 37 callersMethodto_dict
(self)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/client/resource.py:52
↓ 36 callersFunctioncompare_policies
Compares the existing policy and the updated policy Returns True if there is a difference between policies.
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/policy.py:120
↓ 36 callersFunctionipa_argument_spec
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:205
↓ 35 callersMethodget
(self)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/wafv2_web_acl.py:375
↓ 35 callersMethodput
This method should be avoided in favor of full_put
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py:112
↓ 34 callersMethodget_all
(self)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/iam_policy_info.py:114
↓ 34 callersMethodget_diff
(self, ipa_data, module_data)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/ipa.py:164
↓ 34 callersFunctionkeycloak_argument_spec
Returns argument_spec of options common to keycloak_*-modules :return: argument_spec dict
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/identity/keycloak/keycloak.py:90
↓ 34 callersMethodset
(self, backing_device, password, opts)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:222
↓ 34 callersMethodvalues
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/system/crypttab.py:322
↓ 33 callersMethod_write_command
Write the given command to the Nagios command file
Chapter-07/collections/ansible_collections/community/general/plugins/modules/nagios.py:443
↓ 33 callersMethod_write_command
Write the given command to the Nagios command file
Chapter-07/collections/ansible_collections/community/general/plugins/modules/monitoring/nagios.py:443
↓ 33 callersMethodcopy
(self)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/copy.py:154
↓ 33 callersMethodget_fw_zone_settings
(self)
Chapter-07/collections/ansible_collections/ansible/posix/plugins/module_utils/firewalld.py:127
↓ 33 callersMethodget_vm
Find unique virtual machine either by UUID or Name. Returns: virtual machine object if found, else None.
Chapter-07/collections/ansible_collections/community/vmware/plugins/modules/vmware_vmotion.py:314
↓ 33 callersFunctionget_waiter
(client, waiter_name)
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/waiters.py:932
↓ 33 callersMethodopen
(self)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/archive.py:496
↓ 33 callersFunctionset_module_args
(args)
Chapter-07/collections/ansible_collections/community/aws/tests/unit/plugins/modules/utils.py:14
↓ 32 callersMethodclient
(self, resource='batch')
Chapter-07/collections/ansible_collections/amazon/aws/plugins/module_utils/batch.py:82
↓ 32 callersMethodclient
(self, resource='batch')
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/batch.py:82
↓ 32 callersFunctionscaleway_argument_spec
()
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/scaleway.py:14
↓ 31 callersMethod_dump_results
(self, result, indent=None, sort_keys=True, keep_invocation=False)
Chapter-07/collections/ansible_collections/community/general/plugins/callback/yaml.py:84
↓ 30 callersMethodget
(self)
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/wafv2_rule_group.py:277
↓ 30 callersMethodget_host
(self, macaddr)
Chapter-07/collections/ansible_collections/community/general/plugins/modules/omapi_host.py:164
↓ 30 callersMethodread
(self)
Chapter-11/collections/ansible_collections/kubernetes/core/plugins/module_utils/copy.py:129
↓ 29 callersMethodwarn
(self, *args, **kwargs)
Chapter-05/collections/ansible_collections/amazon/aws/plugins/module_utils/core.py:177
↓ 28 callersMethoddo
(self, method, url, body_json=None, ok_error_codes=None, timeout=None)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/lxd.py:78
↓ 28 callersMethodfail
(self, msg)
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:2209
↓ 28 callersFunctionget_pritunl_settings
Helper function to set required Pritunl request params from module arguments.
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/net_tools/pritunl/api.py:37
↓ 28 callersFunctionmocker_set
Common mocker object
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/net_tools/test_nmcli.py:726
↓ 28 callersFunctionwait_to_finish
(target, pending, refresh, timeout, min_interval=1, delay=3)
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/hwc_utils.py:326
↓ 27 callersMethodexists
(self)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:2199
↓ 27 callersMethodfail
(self, msg)
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py:2195
↓ 27 callersFunctionfake_xenapi_ref
(xenapi_class)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/module_utils/xenserver/common.py:10
↓ 27 callersMethodgetcode
(self)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/module_utils/net_tools/pritunl/test_api.py:277
↓ 26 callersMethod__getResult
(self, cmd_fun)
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/system/test_ufw.py:471
↓ 26 callersMethod_get_data_entry
Helper to get data Helper to get data from self.data by a path like 'path/to/target' Attention: Escaping of the delimiter is not (yet
Chapter-07/collections/ansible_collections/community/general/plugins/inventory/lxd.py:466
← previousnext →101–200 of 21,084, ranked by callers