eos_system
Manage the system attributes on Arista EOS devices
Collection: arista.eos
Full Name: arista.eos.eos_system
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage the system attributes on Arista EOS devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| domain_list | list | |||
| domain_name | str | |||
| hostname | str | |||
| lookup_source | list | |||
| name_servers | list | |||
| state | str | present |
Example
yaml
- name: configure hostname and domain-name
arista.eos.eos_system:
hostname: eos01
domain_name: test.example.com
- name: remove configuration
arista.eos.eos_system:
state: absent
- name: configure DNS lookup sources
arista.eos.eos_system:
lookup_source: Management1
- name: configure DNS lookup sources with VRF support
arista.eos.eos_system:
lookup_source:
- interface: Management1
vrf: mgmt
- interface: Ethernet1
vrf: myvrf
- name: configure name servers
arista.eos.eos_system:
name_servers:
- 8.8.8.8
- 8.8.4.4
- name: configure name servers with VRF support
arista.eos.eos_system:
name_servers:
- {server: 8.8.8.8, vrf: mgmt}
- {server: 8.8.4.4, vrf: mgmt}