community.general/lib/ansible
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
..
cli Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
errors Add new AnsibleTemplateError to more easily catch templating issues (#50563) 2019-01-04 14:33:05 -06:00
executor Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
galaxy Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
inventory Fix reverse_inventory order to work on python3 (#49895) 2018-12-17 15:39:29 -06:00
module_utils Add autopublish and autoinstallpolicy behaviour to Checkpoint devices (#50862) 2019-01-15 11:03:48 +01:00
modules Add autopublish and autoinstallpolicy behaviour to Checkpoint devices (#50862) 2019-01-15 11:03:48 +01:00
parsing Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
playbook Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
plugins Add autopublish and autoinstallpolicy behaviour to Checkpoint devices (#50862) 2019-01-15 11:03:48 +01:00
template Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
utils Support for NIOS modules to use environment variables in provider (#49056) 2019-01-14 23:25:24 +05:30
vars Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
__init__.py
constants.py become_method: make dzdo more like sudo (#47946) 2018-12-04 18:24:32 -05:00
context.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00