Closed ganto closed 3 years ago
I don't remember at the moment, sorry. I think that it was an issue related to templating, so maybe that Ansible and Jinja combination? I guess running the playbook with an override for this check would show the culprit.
Hmn, I guess I found the issue (btw. happens also on Debian Jessie with the backports version 😞), it's (at least) in debops.ferm
, most likely also other roles:
TASK [debops.ferm : Remove firewall rules] *************************************
task path: /home/vagrant/.local/share/debops/debops-playbooks/roles/debops.ferm/tasks/main.yml:86
fatal: [webmail]: FAILED! => {
"failed": true,
"msg": "{{ lookup(\"template\", \"lookup/ferm__parsed_rules.j2\", convert_data=False) | from_yaml }}: An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'yaml.representer.RepresenterError'>, original message: cannot represent an object: accept_ansible_controller"
}
See ansible/ansible#20290. Hehe, it's even a bug that you (@drybjed) opened 👍
I guess a link to this bug could be added as a comment near the assert
task so we don't need to look for it again. Thanks for finding it!
I'm sorry to bring this up again, but here my experience with a fresh installed Debian Stretch:
The comment in 789e342bcbf4808d65fe9fb56d329ddcc334d4a3 says, that this is due to role incompatibilities? Any more info on which role/task is not working with stock Ansible?