mirror of https://github.com/ansible/ansible.git
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.
* ufw: escalate privileges in integration tests A few of the integration tests for the UFW module forgot to `become`. This is problematic if the test suite is executed as a non-privileged user. This commit amends that by adding `become` when appropriate. * ufw: add unit tests for direction and interface Extend the unit tests for the UFW module to test the `direction` and `interface` parameters. This will help in the implementation of a fix for issue #63903. * ufw: add support for interface_in and interface_out The UFW module has support for specifying `direction` and `interface` for UFW rules. Rules with these parameters are built such that per-interface filtering only apply to a single direction based on the value of `direction`. Not being able to specify multiple interfaces complicates things for `routed` rules where one might want to apply filtering only for a specific combination of `in` and `out` interfaces. This commit introduces two new parameters to the UFW module: `interface_in` and `interface_out`. These rules are mutually exclusive with the old `direction` and `interface` parameter because of the ambiguity of having e.g.: direction: XXX interface: foo interface_XXX: bar Fixes #63903 |
6 years ago | |
|---|---|---|
| .. | ||
| cli | 6 years ago | |
| compat | 7 years ago | |
| config | 6 years ago | |
| contrib | 7 years ago | |
| errors | 6 years ago | |
| executor | 6 years ago | |
| galaxy | 6 years ago | |
| inventory_test_data/group_vars | 11 years ago | |
| mock | 6 years ago | |
| module_utils | 6 years ago | |
| modules | 6 years ago | |
| parsing | 6 years ago | |
| playbook | 6 years ago | |
| plugins | 6 years ago | |
| regex | 7 years ago | |
| template | 6 years ago | |
| utils | 6 years ago | |
| vars | 6 years ago | |
| __init__.py | 9 years ago | |
| requirements.txt | 6 years ago | |
| test_constants.py | 9 years ago | |
| test_context.py | 7 years ago | |