dj-wasabi / ansible-zabbix-agent

Installing and maintaining zabbix-agent for RedHat/Debian/Ubuntu/Windows/Suse.
https://galaxy.ansible.com/dj-wasabi/zabbix-agent
MIT License
327 stars 249 forks source link

Install gpg key fails on Ubuntu 19.10 Eoan - 'dict object' has no attribute 'eoan' #337

Closed fragment137 closed 4 years ago

fragment137 commented 4 years ago

When trying to deploy to Ubuntu 19.10 Eoan, "Install gpg key" task fails on all hosts.

Error Text

fatal: [test.domain.local]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'eoan'

The error appears to be in '/var/lib/jenkins/.ansible/rles/dj-wasabi.zabbix-agent/tasks/Debian.yml': line 12, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:
- name: "Debian | Install gpg key"
         ^ here }

Versions Ansible 2.9.6 Python 2.7.17 Ansible server - Ubuntu 19.10 Eoan Test host - Ubuntu 19.10 Eoan

Concerns the following OS(es): Ubuntu 19.10 (Possibly 19.04?)

Expected behavior Expecting the playbook to successfully deploy Zabbix-agent to Ubuntu 19.10 hosts