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
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
..
cli Move the arguments module into cli/ and context_objects into utils 6 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix encoding issues with file paths. (#50830) 6 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor Handle exception raised in recursive_finder API (#49590) 6 years ago
inventory_test_data/group_vars
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils docker modules: various adjustments (#51700) 6 years ago
modules Enable changed var with ufw check mode (#49948) 6 years ago
parsing Fieldattribute inheritance with defaults (#50891) 6 years ago
playbook Move the arguments module into cli/ and context_objects into utils 6 years ago
plugins aws_ec2 Implement the missing 'region discovery' (#51333) 6 years ago
template templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 6 years ago
utils Move the arguments module into cli/ and context_objects into utils 6 years ago
vars move extravars and option vars loading into VM (#51070) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Run unit tests in parallel. (#45812) 6 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Save the command line arguments into a global context 6 years ago