Skip to content

Commit a9688dc

Browse files
committed
Bug fix: netlab initial could not configure a single module (fixes #1028)
Root cause analysis and further details in #1028
1 parent 92c1263 commit a9688dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netsim/ansible/initial-config.ansible

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@
7575
tags: [ module,test ]
7676
tasks:
7777
- set_fact:
78-
modlist: "{{ modlist.split(',') if modlist is defined else netlab_module }}"
78+
mod_select: "{{ modlist.split(',') if modlist is defined else netlab_module }}"
7979
- include_tasks: "tasks/deploy-module.yml"
8080
args:
8181
apply:
8282
vars:
8383
paths: "{{ search_path }}"
8484
tags: [ always ]
85-
loop: "{{ netlab_module|intersect(modlist) }}"
85+
loop: "{{ netlab_module|intersect(mod_select) }}"
8686
loop_control:
8787
loop_var: config_module
8888

0 commit comments

Comments
 (0)