getest werkt
This commit is contained in:
parent
55dd09dca8
commit
14f10324f4
|
@ -0,0 +1,30 @@
|
|||
#Gemaakt door Ruben Blom 1788844.
|
||||
---
|
||||
- name: OSPF configuratie EdgeRouter
|
||||
hosts: EdgeRouter
|
||||
gather_facts: false
|
||||
connection: network_cli
|
||||
|
||||
tasks:
|
||||
- name: OSPF inschakelen EdgeRouter
|
||||
ios_config:
|
||||
parents: router ospf 1
|
||||
lines:
|
||||
- router-id 2.2.2.2
|
||||
- redistribute bgp 65001 subnets
|
||||
- network 192.168.5.0 0.0.0.255 area 0
|
||||
- network 192.168.8.0 0.0.0.255 area 0
|
||||
|
||||
|
||||
- name: OSPF configuratie R3
|
||||
hosts: R3
|
||||
gather_facts: false
|
||||
connection: network_cli
|
||||
|
||||
tasks:
|
||||
- name: OSPF inschakelen R3
|
||||
ios_config:
|
||||
parents: router ospf 1
|
||||
lines:
|
||||
- router-id 3.3.3.3
|
||||
- network 192.168.5.0 0.0.0.255 area 0
|
Reference in New Issue