mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Enable "ufw default allow routed"
* The policy is shown in `status verbose`, so all the check mode stuff should keep working. * `--dry-run` works as expected. * No idea whether it's legal as an argument to `interface`
This commit is contained in:
parent
b1ec3fd57e
commit
4176c3b500
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Select direction for a rule or default policy command.
|
- Select direction for a rule or default policy command.
|
||||||
required: false
|
required: false
|
||||||
choices: ['in', 'out', 'incoming', 'outgoing']
|
choices: ['in', 'out', 'incoming', 'outgoing', 'routed']
|
||||||
logging:
|
logging:
|
||||||
description:
|
description:
|
||||||
- Toggles logging. Logged packets use the LOG_KERN syslog facility.
|
- Toggles logging. Logged packets use the LOG_KERN syslog facility.
|
||||||
|
@ -173,7 +173,7 @@ def main():
|
||||||
state = dict(default=None, choices=['enabled', 'disabled', 'reloaded', 'reset']),
|
state = dict(default=None, choices=['enabled', 'disabled', 'reloaded', 'reset']),
|
||||||
default = dict(default=None, aliases=['policy'], choices=['allow', 'deny', 'reject']),
|
default = dict(default=None, aliases=['policy'], choices=['allow', 'deny', 'reject']),
|
||||||
logging = dict(default=None, choices=['on', 'off', 'low', 'medium', 'high', 'full']),
|
logging = dict(default=None, choices=['on', 'off', 'low', 'medium', 'high', 'full']),
|
||||||
direction = dict(default=None, choices=['in', 'incoming', 'out', 'outgoing']),
|
direction = dict(default=None, choices=['in', 'incoming', 'out', 'outgoing', 'routed']),
|
||||||
delete = dict(default=False, type='bool'),
|
delete = dict(default=False, type='bool'),
|
||||||
insert = dict(default=None),
|
insert = dict(default=None),
|
||||||
rule = dict(default=None, choices=['allow', 'deny', 'reject', 'limit']),
|
rule = dict(default=None, choices=['allow', 'deny', 'reject', 'limit']),
|
||||||
|
|
Loading…
Reference in a new issue