diff --git a/lib/ansible/modules/net_tools/nmcli.py b/lib/ansible/modules/net_tools/nmcli.py index d16c306e337..817a92cd251 100644 --- a/lib/ansible/modules/net_tools/nmcli.py +++ b/lib/ansible/modules/net_tools/nmcli.py @@ -37,7 +37,7 @@ options: - Whether the connection should start on boot. - Whether the connection profile can be automatically activated type: bool - default: 'yes' + default: True conn_name: description: - 'Where conn_name will be the name used to call the connection. when not provided a default name is generated: [-][-]' @@ -1156,7 +1156,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'),