mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
option is marked as required but specifies a default (#57257)
* required and default are conflicting
This commit is contained in:
parent
229d20b6d9
commit
05e6339c49
2 changed files with 3 additions and 4 deletions
|
@ -34,7 +34,7 @@ options:
|
|||
description:
|
||||
- Safeguard boolean. Set to true if you're sure you want to reboot.
|
||||
type: bool
|
||||
default: false
|
||||
required: true
|
||||
save_config:
|
||||
description:
|
||||
- Flag indicating whether to save the configuration.
|
||||
|
@ -134,8 +134,8 @@ def main():
|
|||
""" main """
|
||||
|
||||
argument_spec = dict(
|
||||
confirm=dict(required=True, type='bool', default='false'),
|
||||
save_config=dict(required=False, type='bool', default='false')
|
||||
confirm=dict(required=True, type='bool'),
|
||||
save_config=dict(default=False, type='bool')
|
||||
)
|
||||
|
||||
argument_spec.update(ce_argument_spec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue