Commit aa5b4d0
authored
[fanout connect playbook] Fix variable undefined in rootfanout_connect.yml (#16634)
Summary:
Fixes # (issue)
In PR: #15643, it add a new optional variable clean_before_add for template arista_7260_connect.j2 to indicate whether clean vlan range before add vlan range, however, this variable are defined in fanout_connect.yml which will call rootfanout_connect.yml, this will be a bug, because when rootfanout_connect.yml is called by other playbook, it will raise error: clean_before_add undefined, so, to fix this bug, we move the clean_before_add definition from fanout_connect.yml to
rootfanout_connect.yml.
What is the motivation for this PR?
this will be a bug, because when rootfanout_connect.yml is called by other playbook, it will raise error: clean_before_add undefined
How did you do it?
move the clean_before_add definition from fanout_connect.yml to
rootfanout_connect.yml.
How did you verify/test it?
local run playbook1 parent 3481eaf commit aa5b4d0
File tree
2 files changed
+3
-1
lines changed- ansible
- roles/fanout/tasks
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments