Open saltstack-admin opened 2 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @alcamie101 click here for bot help
Found the issue. nameserver2 is as empty var declared and our code did not check properly for it. That way Ansible send this command: nmcli add con type ethernet ipv4.dns 127.0.0.1, ipv4.gw ....... The error the module is displaying is misleading, in debug mode I got from nmcli the message "ipv4.dns2 is malformed".
Summary
Hi,
I try to create a connection with the name "eth0-config", but I always get this error: "msg": "Error: unknown connection 'eth0-config'.\n", "name": "eth0-config", "rc": 10
Ansible version:
Network interface from the client I try to configure: [test@test-node]$ ip a show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:12:34:56:78:AB brd ff:ff:ff:ff:ff:ff
My Ansible task:
What am I doing wrong?
Issue Type
Bug Report
Component Name
nmcli
Ansible Version
Community.general Version
Configuration
OS / Environment
ALMALinux 9.4
Steps to Reproduce
Expected Results
I expect, that a connection "eth0-config" is created using NIC "eth0".
Actual Results
Code of Conduct