tmichett / PXEServer

PXE Boot and Kickstart Server Project
2 stars 2 forks source link

Add RHEL System ROLE to Configure NIC #7

Closed tmichett closed 1 year ago

tmichett commented 1 year ago

Let playbook configure the NIC Card for hosting the DHCP Services

Also playbook to identify NIC adapters for configuring

tmichett commented 1 year ago

https://galaxy.ansible.com/linux-system-roles/network

configure nic if, ip, subnet

tmichett commented 1 year ago

ansible_default_ipv4.address will give the default IPv4 address, and ansible_default_ipv4.interface the default IPv4 interface.

tmichett commented 1 year ago

https://serverfault.com/questions/768470/how-to-enumerate-network-interfaces-in-ansible

might be a cleaner way to do things ... not exactly what is needed but close

tmichett commented 1 year ago

Added, Fixed, and Tested