diff --git a/netsim/ansible/initial-config.ansible b/netsim/ansible/initial-config.ansible index 78c1a6937..119019e92 100755 --- a/netsim/ansible/initial-config.ansible +++ b/netsim/ansible/initial-config.ansible @@ -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