Adjust booleans in system modules (#5153)

* Adjust booleans in system modules.

* Fix some IP addresses

Co-authored-by: Sandra McCann <samccann@redhat.com>

Co-authored-by: Sandra McCann <samccann@redhat.com>
This commit is contained in:
Felix Fontein 2022-08-24 19:59:01 +02:00 committed by GitHub
commit be2de15c66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 162 additions and 146 deletions

View file

@ -71,14 +71,14 @@ options:
- The file the iptables state should be saved to.
- The file the iptables state should be restored from.
type: path
required: yes
required: true
state:
description:
- Whether the firewall state should be saved (into a file) or restored
(from a file).
type: str
choices: [ saved, restored ]
required: yes
required: true
table:
description:
- When I(state=restored), restore only the named table even if the input
@ -133,7 +133,7 @@ EXAMPLES = r'''
community.general.iptables_state:
state: saved
path: /tmp/iptables
check_mode: yes
check_mode: true
changed_when: false
register: iptables_state