Skip to content

Commit

Permalink
Bug fix: netlab initial could not configure a single module (fixes #1028
Browse files Browse the repository at this point in the history
)

Root cause analysis and further details in #1028
  • Loading branch information
ipspace committed Jan 29, 2024
1 parent 92c1263 commit a9688dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netsim/ansible/initial-config.ansible
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
tags: [ module,test ]
tasks:
- set_fact:
modlist: "{{ modlist.split(',') if modlist is defined else netlab_module }}"
mod_select: "{{ modlist.split(',') if modlist is defined else netlab_module }}"
- include_tasks: "tasks/deploy-module.yml"
args:
apply:
vars:
paths: "{{ search_path }}"
tags: [ always ]
loop: "{{ netlab_module|intersect(modlist) }}"
loop: "{{ netlab_module|intersect(mod_select) }}"
loop_control:
loop_var: config_module

Expand Down

0 comments on commit a9688dc

Please sign in to comment.