community.general/lib/ansible
Jérôme BAROTIN b99de25f32 Enable changed var with ufw check mode (#49948)
* Enable 'changed' var with ufw check mode

* Fix from comment of the PR + Unit Test

* Fix on ufw module after the second review

- delete rules change works in check mode
- simplify execute def & use it on every call process
- improved regexp
- rename vars defaults to current_default_values

* Add ignore error to execute() and use it in get_current_rules()

* Update after third code review (introduce change in changed status)

* Adjust tests and fix some problems (#1)

* 'active' also appears in 'inactive'.

* 'reject' is also a valid option here.

* For example for reloaded, changed will be set back to False here.

* Improve and adjust tests.

* Fix after merging integration test

* handle "disabled" on default routed

* Add /var/lib/ufw/.. rules files

* add unit test

* Fix pep8 formatting error

* Separate ipv6 and ipv4 rules process from checkmode

* fix non-ascii error on ci

* Some change after review

* Add unit test with sub network mask

* rename is_match function by is_starting

* add changelog fragment
2019-02-11 11:05:35 +00:00
..
cli unquote ev (#51560) 2019-01-31 16:55:10 -05:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config added missing version_added 2019-02-01 09:34:14 -05:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor Pass number of forks to TQM from CLI/config (#51669) 2019-02-05 15:23:12 -06:00
galaxy Consistent typesetting of "GitHub" (#50929) 2019-01-15 14:53:04 +01:00
inventory make missing pattern ansibleerror (#51397) 2019-01-30 19:13:19 -05:00
module_utils docker modules: various adjustments (#51700) 2019-02-08 08:16:11 +00:00
modules Enable changed var with ufw check mode (#49948) 2019-02-11 11:05:35 +00:00
parsing Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
playbook remove bare var handling in conditionals (#51030) 2019-01-30 15:00:24 -05:00
plugins netbox: inventory: Fix VMs do not have device_roles, but instead use roles (#50761) 2019-02-11 06:40:24 +01:00
template Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
utils move extravars and option vars loading into VM (#51070) 2019-01-30 16:25:36 -05:00
vars Remove unused imports and variable in hostvars.py (#51609) 2019-02-07 11:05:39 -05: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