You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
cloud docker modules: various adjustments (#51700) 7 years ago
files Fixes #34893 (#40166) 8 years ago
messaging Rabbitmq user permission fixes (#49404) 7 years ago
monitoring Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
net_tools PR to implement support feature for creating NIOS network container (#51168) 7 years ago
network Pluribus Networks point feature module for vrouter pim config with UT (#51013) 7 years ago
notification Add support for hex color in slack module (#49804) 7 years ago
packaging Update bare exceptions to specify Exception. 7 years ago
remote_management Added new module lxca_nodes for Lenovo XClarity Administrator (#46767) 7 years ago
source_control gitlab_hook: renaming module name (#51979) 7 years ago
storage Rewrite of na_ontap_cluster and unit tests. (#49780) 7 years ago
system Enable changed var with ufw check mode (#49948) 7 years ago
web_infrastructure Python 3.8 collections compatibility fixes. 7 years ago
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py Python 3.8 collections compatibility fixes. 7 years ago
utils.py Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago