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/system
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
6 years ago
..
interfaces_file Add tests filters (#43221) 6 years ago
__init__.py New module: manage debian network interfaces file /etc/network/interfaces (system/interfaces_file) (#25295) 7 years ago
test_iptables.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_java_keystore.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_known_hosts.py Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
test_linux_mountinfo.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_pamd.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_parted.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_systemd.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_ufw.py Enable changed var with ufw check mode (#49948) 6 years ago