Fix template to load openvswitch module on boot

Change-Id: I21ce4b3fabab173e00e4cf353ad9eb8cd180ac91
Closes-Bug: #1780755
This commit is contained in:
Christian Zunker 2018-07-09 11:48:47 +02:00
parent 5014e0ee8b
commit 8587e33f53
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@
{%
for module in openstack_host_specific_kernel_modules if (
groups[module.group] is defined and
inventory_hostname in module.group and
item.pattern + '=m' in (modules.content | b64decode)
inventory_hostname in groups[module.group] and
module.pattern + '=m' in (modules.content | b64decode)
)
%}
{{ module }}
{{ module.name }}
{% endfor %}