Each connection has a name or ID that identifies it. The STATE column indicates the status of the connection, and the last one, CONNECTION, is a collection of settings that can be configured for a device. The TYPE column shows which type of connection is this. The first column, DEVICE, indicates the network interface. In the above output, you can see various columns. To list the connections of your local machine use: $ nmcli dev status nmcli is the utility that's used to create and edit connections files from a shell prompt. It uses a file in /etc/sysconfig/network-scripts to store them. Basically, it's a daemon that monitors and manages network settings. NetworkManager manages network settings such as configuring the network interface as well as the connection. In this article, I look at the network role in detail so that you can modify the remote machine network connections with a single playbook. In that article, you saw an example where you changed SELinux mode using system.role-selinux role. System roles help you manage OS-level tasks like SELinux, managing network settings, NTP, etc. In the previous article, I introduced you to Ansible and system roles and provided some examples. This is the second article in series using Ansible system roles.
0 Comments
Leave a Reply. |