Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lsb_release a dependency #114

Open
gianklug opened this issue Jan 30, 2022 · 0 comments
Open

Make lsb_release a dependency #114

gianklug opened this issue Jan 30, 2022 · 0 comments

Comments

@gianklug
Copy link
Member

ISSUE TYPE
  • Bug Report
OS / ENVIRONMENT

Fresh Debian 11 setup

SUMMARY

If lsb_release isn't installed (which is not on Debian 11), the rolewill fail:

fatal: []: FAILED! => {"msg": "The conditional check '(ansible_lsb.id != 'Univention' or ansible_distribution_release != 'stretch')' failed. The error was: error while evaluating conditional ((ansible_lsb.id != 'Univention' or ansible_distribution_release != 'stretch')): 'dict object' has no attribute 'id'\n\nThe error appears to be in '/tmp/semaphore/.ansible/roles/adfinis-sygroup.icinga2_agent/tasks/installation.yml': line 38, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: configure icinga apt repository\n ^ here\n"}
STEPS TO REPRODUCE

Run role against Debian 11 Host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant