forked from hpreston/python_networking
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnetwork_deploy.yaml
More file actions
55 lines (44 loc) · 913 Bytes
/
Copy pathnetwork_deploy.yaml
File metadata and controls
55 lines (44 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
- name: Wait for all devices to be available
hosts: all
connection: local
gather_facts: false
tasks:
- wait_for:
port: 22
sleep: 10
- name: Gather Facts about Network
hosts: all
connection: network_cli
gather_facts: false
roles:
- network_inspect
- name: Enable Network APIs
hosts: all
connection: network_cli
gather_facts: false
roles:
- network_enable_api
- name: Configure Network Core
hosts: core
connection: local
gather_facts: false
roles:
- network_interface
- network_ospf
- name: Configure Distribution Switches
hosts: distribution
connection: network_cli
gather_facts: false
roles:
- network_vlan
- network_vpc
- network_interface
- network_ospf
- name: Configure Access Switches
hosts: access
connection: network_cli
gather_facts: false
roles:
- network_vlan
- network_interface