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
parent bcecf2dcdc
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

@ -20,24 +20,24 @@ options:
description:
- Apply the latest snapshot.
- Otherwise release will be applied.
default: no
default: false
type: bool
force:
description:
- Force upgrade (for snapshots only).
default: no
default: false
type: bool
keep_files:
description:
- Keep the files under /home/_sysupgrade.
- By default, the files will be deleted after the upgrade.
default: no
default: false
type: bool
fetch_only:
description:
- Fetch and verify files and create /bsd.upgrade but do not reboot.
- Set to C(false) if you want sysupgrade to reboot. This will cause Ansible to error, as it expects the module to exit gracefully. See the examples.
default: yes
default: true
type: bool
installurl:
description:
@ -55,7 +55,7 @@ EXAMPLES = r'''
- name: Upgrade to latest snapshot
community.general.sysupgrade:
snapshot: yes
snapshot: true
installurl: https://cloudflare.cdn.openbsd.org/pub/OpenBSD
register: sysupgrade
@ -68,8 +68,8 @@ EXAMPLES = r'''
- name: Have sysupgrade automatically reboot
community.general.sysupgrade:
fetch_only: no
ignore_errors: yes
fetch_only: false
ignore_errors: true
'''
RETURN = r'''