forked from mpergament/avd-mpls-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPLAY_mpls_deploy.yml
50 lines (44 loc) · 1.12 KB
/
PLAY_mpls_deploy.yml
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
---
- name: Build Switch configuration
hosts: MPLS_FABRIC
connection: local
gather_facts: false
collections:
- arista.avd
- arista.cvp
tasks:
- name: 'build local folders for output'
tags: [build, generate]
import_role:
name: arista.avd.build_output_folders
- name: generate intended variables
tags: [build, generate]
import_role:
name: arista.avd.eos_designs
vars:
design:
type: "mpls-vpn"
- name: generate device intended config and documentation
tags: [build, generate]
import_role:
name: arista.avd.eos_cli_config_gen
- name: Configuration deployment with CVP
hosts: cv_server
connection: local
gather_facts: false
tasks:
- name: run CVP provisioning
import_role:
name: arista.avd.eos_config_deploy_cvp
vars:
container_root: 'MPLS_FABRIC'
configlets_prefix: 'MPLS-AVD'
# execute_tasks: true
device_filter:
- "p"
- "pe"
- "rr"
search_key: hostname
state: present
cv_collection: v3
apply_mode: strict