community.general/lib/ansible/module_utils
Ricardo Carrillo Cruz 077d6a63c1
Add autopublish and autoinstallpolicy behaviour to Checkpoint devices (#50862)
* Add autopublish and autoinstallpolicy behaviour to Checkpoint devices

Up till now we published and installed policy package for every operation,
however operators may not want that and only reconcile changes after a series
of changes.
Added flags to toggle this behaviour, which defaults to autopublish and
autoinstall policy package just as it was till now.
The policy package name defaults to 'standard', since it's the default one
created on the Checkpoint management server on AWS, unsure if that's common
in other setups.

* Change signature for publish and install policy

The module object is not needed

* Fix pep8

* Fix install_policy invocation

Also fix payload in publish/discard, since it seems passing the UID
when it's not needed has issues.

* Add doc fragments

* Remove default value of targets on install_policy method

It's already defaulting to None via checkpoint_arg_spec

* Fix pep8

* Remove doc fragment and push down auto options to resource modules

I realized if I put those options as doc fragments they will show up
on facts module, which do not apply, only on resource modules that
mangle with objects.

* Fix bogus param name and validate modules issues

* Fix bogus param name on checkpoint_host
2019-01-15 11:03:48 +01:00
..
aws [aws] ALB/NLB support SubnetMappings in AWS create LB call (#42060) 2018-10-04 16:53:32 -04:00
common Add a CLIArgs Singleton class that will hold the parse cli arguments 2019-01-03 18:12:23 -08:00
compat Misc fixes for several errors 2018-11-02 12:14:57 -04:00
csharp Windows Privileges - moved util code to it's own C# util (#48897) 2018-12-14 12:00:46 +10:00
distro Changes to bundled distro to be Python-2.6 compatible 2018-12-17 11:01:01 -08:00
facts Fixes #25725: strip quotes from lsb_release and distribution description. (#31143) 2019-01-11 12:07:26 -05:00
k8s Bubble up import exception content for k8s module (#50657) 2019-01-15 10:44:59 +10:00
net_tools Support for NIOS modules to use environment variables in provider (#49056) 2019-01-14 23:25:24 +05:30
network Add autopublish and autoinstallpolicy behaviour to Checkpoint devices (#50862) 2019-01-15 11:03:48 +01:00
parsing Improve convert_bool error message 2018-02-12 13:05:38 -05:00
powershell Windows Privileges - moved util code to it's own C# util (#48897) 2018-12-14 12:00:46 +10:00
remote_management Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
six Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
storage New module for managing EMC VNX Block storage (#42945) 2018-08-09 10:38:26 -07:00
__init__.py Enhance empty __init__ code-smell to check module_utils (#33438) 2017-11-30 15:47:38 -08:00
_text.py Fix for to_text and to_bytes error handlers 2017-07-24 09:19:04 -07:00
acme.py ACME: add seealso references (#50320) 2018-12-26 13:26:46 +00:00
alicloud_ecs.py Add new module ali_instance (#36898) 2018-10-23 13:02:21 -05:00
ansible_release.py [AWS] Add Ansible Version to botocore user agent string (#39993) 2018-05-17 11:41:14 -04:00
ansible_tower.py Tower modules: move HAS_TOWER_CLI check in module_utils and minor improvements (#39809) 2018-08-02 11:17:39 -04:00
api.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
azure_rm_common.py dns zone enhancement and return curated value (#50740) 2019-01-11 16:38:29 +08:00
azure_rm_common_rest.py support lro in azure_rm_resource (#49919) 2018-12-17 13:21:25 +08:00
basic.py Cleanups to the common.sys_info API 2019-01-03 16:21:09 -08:00
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudscale.py Cloudscale volume (#49887) 2019-01-07 22:29:01 +01:00
cloudstack.py cloudstack: fix query tags by resourceid (#40482) 2018-05-21 17:16:44 +02:00
connection.py Allow AnsibleVaultEncryptedUnicode to pass through exec_jsonrpc (#48306) 2018-12-21 11:15:18 -05:00
crypto.py Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
database.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
digital_ocean.py Include Digital Ocean Token Alias (#36810) 2018-03-01 09:56:53 +05:30
dimensiondata.py dimensiondata: fix broken import (#35634) 2018-02-07 00:44:42 +01:00
docker_common.py Docker common consolidation (#49707) 2018-12-12 09:05:12 +00:00
ec2.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
exoscale.py exo_dns_record: remove limitation for multiple records only for A type (#35173) 2018-02-05 22:40:02 +01:00
f5_utils.py Refactor common network shared and platform utils code into package (#33452) 2017-12-03 21:42:30 +05:30
firewalld.py refactor firewalld module, add firewalld module_util (#37603) 2018-04-30 15:33:28 -05:00
gcdns.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gce.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gcp.py removing libcloud secrets support for legacy gcp modules (#44932) 2018-08-31 08:28:32 -04:00
gcp_utils.py New module: gcp_bigquery_table_facts (#50679) 2019-01-08 20:25:47 -05:00
gitlab.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
heroku.py New module: heroku_collaborator (#39001) 2018-05-22 11:50:53 +02:00
ibm_sa_utils.py IBM storage: fix domain issue by adding more keywords to pyxcli avail… (#48345) 2018-11-12 10:47:38 -05:00
infinibox.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
influxdb.py influxdb: Add condition for retries argument (#38441) 2018-04-15 22:05:51 -04:00
ipa.py IPA: Add option to specify timeout (#44572) 2018-08-26 23:18:46 +05:30
ismount.py fix typo 2016-02-08 19:10:04 +01:00
json_utils.py Remove use of simplejson throughout code base (#43548) 2018-08-10 11:13:29 -05:00
keycloak.py New module: keycloak_clienttemplate (#33419) 2018-01-31 13:12:53 +00:00
known_hosts.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
ldap.py doc: fix maintainer's name (#44452) 2018-08-21 16:32:37 +02:00
linode.py Add new linode_v4 module. (#46151) 2018-11-16 12:39:05 +00:00
lxd.py Remove use of simplejson throughout code base (#43548) 2018-08-10 11:13:29 -05:00
manageiq.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
memset.py New facts module: Memset Memstore (#42387) 2018-10-29 12:27:03 +00:00
mysql.py Migrate from MySQLdb to PyMySQL (#40123) 2018-09-19 08:44:05 -07:00
netapp.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
netapp_elementsw_module.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
netapp_module.py Adding Common files for NetApp ElementSW release (#43727) 2018-08-10 09:33:08 -07:00
oneandone.py New module: manage 1&1 public ip (cloud/oneandone/oneandone_public_ip) (#35079) 2018-02-07 12:15:27 -06:00
oneview.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
online.py Add an Online servers fact 2018-09-24 21:03:50 +02:00
opennebula.py one_host environment variables, Fixes #44163 (#44568) 2018-08-27 10:55:04 -04:00
openstack.py openstack: fix parameter handling when cloud provided as dict (#42899) 2018-12-10 11:41:22 +00:00
ovirt.py ovirt: Return also nested attributes of structs (#49239) 2018-12-12 05:39:31 -05:00
postgres.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
pure.py Add user_agent into FlashBlade API calls (#46221) 2018-10-29 11:28:00 +00:00
pycompat24.py Enable pylint rules and fix exposed bugs. (#47219) 2018-10-19 08:32:52 -07:00
rabbitmq.py Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
rax.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
redfish_utils.py redfish_utils: fix reference to local variable 'systems_service' (#50298) 2019-01-11 14:16:20 +00:00
redhat.py Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
scaleway.py Add support for adding custom query parameters to URL (#46390) 2018-10-26 15:20:00 +01:00
service.py Fix typo of stderr 2018-07-31 13:23:05 -04:00
splitter.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
univention_umc.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
urls.py Guard creating HTTPSClientAuthHandler behind HTTPS checks (#50523) 2019-01-10 09:41:13 -06:00
utm_utils.py Creates base Sophos UTM module (#45781) 2018-10-26 23:21:54 +05:30
vca.py Use response.content instead of response object (#25772) 2017-08-14 12:40:06 -04:00
vmware.py Ensure that current uses of BaseException are required 2018-12-16 15:03:19 -08:00
vmware_rest_client.py VMware: Add tag facts to vmware_guest_facts (#47495) 2018-10-25 09:45:38 +05:30
vultr.py vultr: fix for API returned unexpected empty list (#48036) 2018-11-04 11:23:36 +01:00
xenserver.py New module: xenserver_guest - manages XenServer VMs (#41041) 2018-11-19 01:50:20 -05:00
yumdnf.py dnf/yum - added install_weak_deps option (#50525) 2019-01-04 11:37:59 -05:00