ansible/test/units/modules
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
..
cloud docker modules: various adjustments (#51700) 2019-02-08 08:16:11 +00:00
files Fixes #34893 (#40166) 2018-05-16 11:09:32 -05:00
messaging Rabbitmq user permission fixes (#49404) 2018-12-07 13:19:08 +00:00
monitoring Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
net_tools PR to implement support feature for creating NIOS network container (#51168) 2019-01-23 19:21:00 +05:30
network Pluribus Networks point feature module for vrouter pim config with UT (#51013) 2019-02-07 20:13:00 +05:30
notification Add support for hex color in slack module (#49804) 2018-12-12 08:41:49 +00:00
packaging Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
remote_management Added new module lxca_nodes for Lenovo XClarity Administrator (#46767) 2018-12-05 10:18:36 +00:00
source_control gitlab_hook: renaming module name (#51979) 2019-02-11 00:30:36 +01:00
storage Rewrite of na_ontap_cluster and unit tests. (#49780) 2019-01-31 18:43:54 +00:00
system Enable changed var with ufw check mode (#49948) 2019-02-11 11:05:35 +00:00
web_infrastructure Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
__init__.py
conftest.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
utils.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00