You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is run by Jinja higher than 2.8 it fails on looking for the templates. In this bug (debops/debops#179) there is explained, that behaviour in the Python Jinja library changed in the newer version. So templates have to be changed.
Other playbooks could be affected too.
failed: [gateway] (item=etc/dhcp/dhcpd.conf) => { "changed": false, "item": "etc/dhcp/dhcpd.conf", "msg": "AnsibleError: An unhandled exception occurred while templating '{{ lookup(\"template\", \"lookup/ifupdown__kmod__dependent_load.j2\", convert_data=False) | from_yaml }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: the template file lookup/ifupdown__kmod__dependent_load.j2 could not be found for the lookup" }
The text was updated successfully, but these errors were encountered:
That's odd... You are running the debops.dhcpd role but configuration from debops.ifupdown role makes an error. I wonder if you reference some role default variables in your Ansible inventory, that could cause issues when that role is not present, ie. a playbook of a different role is executed.
If this is run by Jinja higher than 2.8 it fails on looking for the templates. In this bug (debops/debops#179) there is explained, that behaviour in the Python Jinja library changed in the newer version. So templates have to be changed.
Other playbooks could be affected too.
failed: [gateway] (item=etc/dhcp/dhcpd.conf) => { "changed": false, "item": "etc/dhcp/dhcpd.conf", "msg": "AnsibleError: An unhandled exception occurred while templating '{{ lookup(\"template\", \"lookup/ifupdown__kmod__dependent_load.j2\", convert_data=False) | from_yaml }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: the template file lookup/ifupdown__kmod__dependent_load.j2 could not be found for the lookup" }
The text was updated successfully, but these errors were encountered: