-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hello,
thanks for this role and the new version.
OS: Ubuntu 24.04
PDNS Recursor Version: 5.0
The role fails at the task Generate the PowerDNS Recursor configuration because the following vars are empty:
pdns_rec_base_config.recursor.lua_config_file
pdns_rec_base_config.recursor.lua_dns_script
We don't use this and thus we don't set the following vars:
pdns_rec_config_lua_file_content
pdns_rec_config_dns_script_file_content
Error message:
TASK [powerdns.pdns_recursor : Generate the PowerDNS Recursor configuration] ********
[ERROR]: Task failed: The filter plugin 'ansible.builtin.to_nice_yaml' failed: ('cannot represent an object', Undefined)
Task failed.
Origin: /ansible/roles/external/powerdns.pdns_recursor/tasks/configure.yml:36:3
34 mode: "0750"
35
36 - name: Generate the PowerDNS Recursor configuration
^ column 3
<<< caused by >>>
The filter plugin 'ansible.builtin.to_nice_yaml' failed: ('cannot represent an object', Undefined)
Origin: /ansible/roles/external/powerdns.pdns_recursor/templates/recursor.conf.j2
fatal: [host]: FAILED! => {"changed": false, "msg": "Task failed: The filter plugin 'ansible.builtin.to_nice_yaml' failed: ('cannot represent an object', Undefined)"}
If we set the mentioned vars is it working:
pdns_rec_config_dns_script_file_content: "-- empty"
pdns_rec_config_lua_file_content: "-- empty"
Metadata
Metadata
Assignees
Labels
No labels