ansible/test/units
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 Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
compat
config Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
contrib
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor Handle exception raised in recursive_finder API (#49590) 2019-01-04 10:33:37 +05:30
inventory_test_data/group_vars
mock
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 Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
plugins aws_ec2 Implement the missing 'region discovery' (#51333) 2019-01-29 14:59:38 -06:00
template templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 2018-11-29 09:56:23 -05:00
utils Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
vars move extravars and option vars loading into VM (#51070) 2019-01-30 16:25:36 -05:00
__init__.py
ansible.cfg
conftest.py
test_constants.py
test_context.py Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00