fatal: [redacted]: FAILED! => {"changed": false, "failed": true, 
"invocation": {"module_args": {"autoconnect": "yes", "conn_name": "enp5s0", 
"dns4": "redacted", "gw4": "redacted", "ip4": "redacted", "state": 
"present", "type": "ethernet"}, "module_name": "nmcli"}, "msg": "Error: 
invalid <setting>.<property> 'autoconnect'.\n", "name": "enp5s0", "rc": 2}

---
# This is a role to configure my workstation.

- hosts: redacted
  user: redacted
  sudo: yes
  pre_tasks:
  - nmcli: 'conn_name="{{ ansible_interfaces[1] }}"
          state=present
          type=ethernet
          autoconnect=yes
          ip4="redacted"
          gw4="redacted"
          dns4="redacted"'

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c6aeec31-9e14-4751-bafd-5f9c93c1ecc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to