nmcli: change default value of autoconnect (#38686)
There was discrepancy between documentation and actual code.
Fixes: #38671
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit f1cd254265
)
This commit is contained in:
parent
e8469a5117
commit
1de0515af9
2 changed files with 4 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- nmcli change default value of autoconnect
|
|
@ -34,7 +34,7 @@ options:
|
|||
- Whether the device should exist or not, taking action if the state is different from what is stated.
|
||||
autoconnect:
|
||||
required: False
|
||||
default: "yes"
|
||||
default: True
|
||||
type: bool
|
||||
description:
|
||||
- Whether the connection should start on boot.
|
||||
|
@ -1210,7 +1210,7 @@ def main():
|
|||
# Parsing argument file
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
autoconnect=dict(required=False, default=None, type='bool'),
|
||||
autoconnect=dict(required=False, default=True, type='bool'),
|
||||
state=dict(required=True, choices=['present', 'absent'], type='str'),
|
||||
conn_name=dict(required=True, type='str'),
|
||||
master=dict(required=False, default=None, type='str'),
|
||||
|
|
Loading…
Reference in a new issue