Compare commits
No commits in common. "6b588def293c0462c87342d55133d25fe516adb0" and "75bb674f5c94e52d9fb625e3cb45178f6db02e0b" have entirely different histories.
6b588def29
...
75bb674f5c
2 changed files with 5 additions and 4 deletions
|
|
@ -78,16 +78,17 @@ Associate one or more IPv4 and IPv6 prefixes to each VLAN. Assign the role `dhcp
|
|||
|
||||
### Devices
|
||||
|
||||
For most devices a management interface must be defined to run Ansible scripts, with the IP address set:
|
||||
For most devices a management interface must be defined to run Ansible scripts, with at least the IP address and default gateway set:
|
||||
|
||||
{
|
||||
"name": "eth0", "type": { "value": "1000base-t" },
|
||||
"mgmt_only": true,
|
||||
"mac_address": "98:03:9B:9C:2D:10",
|
||||
"ip_addresses": [ { "address": "10.20.30.40/24" } ]
|
||||
"ip_addresses": [ { "address": "10.20.30.40/24" } ],
|
||||
"custom_fields": { "gateway": { "address": "10.20.30.1/24" } }
|
||||
}
|
||||
|
||||
This IP address must be set as the primary address for the device. The MAC address is only used in some playbooks to set the interface name.
|
||||
The MAC address is only used in some playbooks to set the interface name.
|
||||
|
||||
#### L1 setup
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
ansible.netcommon.cli_config:
|
||||
config: '{{ lookup("template", "config-"~manufacturer~"-"~device_type~".j2") }}'
|
||||
vars:
|
||||
ansible_command_timeout: 600
|
||||
ansible_command_timeout: 240
|
||||
ansible_terminal_stderr_re: [] # some errors are not actually errors
|
||||
register: result
|
||||
# These lines are not displayed by 'sho ru' and always reported as different, so ignore them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue