jdauphant / ansible-role-unbound

Ansible role for Unbound DNS Server and resolver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failed to validate

blackstar257 opened this issue · comments

fatal: [10.10.10.14]: FAILED! => {"changed": false, "checksum": "366f4456943dd3cc28e67389042828720f38f5aa", "exit_status": 1, "msg": "failed to validate", "stderr": "[1515792263] unbound-checkconf[9103:0] fatal error: config file /home/vagrant/.ansible/tmp/ansible-tmp-1515792263.28-258574223960139/source is not inside chroot /etc/unbound\n", "stderr_lines": ["[1515792263] unbound-checkconf[9103:0] fatal error: config file /home/vagrant/.ansible/tmp/ansible-tmp-1515792263.28-258574223960139/source is not inside chroot /etc/unbound"], "stdout": "", "stdout_lines": []}```

The default installation of unbound may have changed to include a default chroot.
Feel free to send a PR (if we can't bypass the chroot option for checking, we can check after creation of the config file if the config is valid).