mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
nmcli: change default value of autoconnect (#38676)
There was discrepancy between documentation and actual code. Fixes: #38671 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
c0243a8a31
commit
f1cd254265
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ options:
|
||||||
- Whether the connection should start on boot.
|
- Whether the connection should start on boot.
|
||||||
- Whether the connection profile can be automatically activated
|
- Whether the connection profile can be automatically activated
|
||||||
type: bool
|
type: bool
|
||||||
default: 'yes'
|
default: True
|
||||||
conn_name:
|
conn_name:
|
||||||
description:
|
description:
|
||||||
- 'Where conn_name will be the name used to call the connection. when not provided a default name is generated: <type>[-<ifname>][-<num>]'
|
- 'Where conn_name will be the name used to call the connection. when not provided a default name is generated: <type>[-<ifname>][-<num>]'
|
||||||
|
@ -1156,7 +1156,7 @@ def main():
|
||||||
# Parsing argument file
|
# Parsing argument file
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
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'),
|
state=dict(required=True, choices=['present', 'absent'], type='str'),
|
||||||
conn_name=dict(required=True, type='str'),
|
conn_name=dict(required=True, type='str'),
|
||||||
master=dict(required=False, default=None, type='str'),
|
master=dict(required=False, default=None, type='str'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue