-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpb.config.render.yaml
31 lines (31 loc) · 1.28 KB
/
pb.config.render.yaml
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
- name: Get create config
hosts: fabric
connection: local
gather_facts: no
vars_files:
- ./all_manual/mgmt_vrf.yaml
- ./all_manual/vlans.yaml
tasks:
- name: 'delete files null files'
file: path=./config/{{inventory_hostname}}.conf state=absent
- name: hey
debug: "{{ os }}"
- include: "./templates/{{ os }}/tsk.conf.start.yml"
- include: ./templates/{{ os }}/tsk.conf.vlan.yml
- set_fact: { current_block: interfaces }
- include: ./templates/{{ os }}/tsk.conf.br-open.yml
- include: ./templates/{{ os }}/tsk.conf.if-etc.yml
- include: ./templates/{{ os }}/tsk.conf.if-vlanif.yml
- include: ./templates/{{ os }}/tsk.conf.if-lo0.yml
- include: ./templates/{{ os }}/tsk.conf.if-fabric.yml
- include: ./templates/{{ os }}/tsk.conf.if-aggrports.yml
- include: ./templates/{{ os }}/tsk.conf.if-switchports.yml
- include: ./templates/{{ os }}/tsk.conf.br-close.yml
- name: going to protocols
set_fact:
current_block: protocols
- include: ./templates/{{ os }}/tsk.conf.br-open.yml
- include: ./templates/{{ os }}/tsk.conf.proto-lldp.yml
- include: ./templates/{{ os }}/tsk.conf.proto-ospf.yml
- include: ./templates/{{ os }}/tsk.conf.br-close.yml
- include: ./templates/{{ os }}/tsk.conf.routing-etc.yml