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

Fix to bug in handlers with ansible_lsb.codename #133

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

santiagomr
Copy link

Hi, thanks for share. With Ansible 2.8.4 on a Debian Stretch server, I get the following error when the handlers are going to run:

FAILED! => {"msg": "The conditional check 'ansible_lsb.codename == \"trusty\"' failed. 
The error was: error while evaluating conditional (ansible_lsb.codename == \"trusty\"): 
'dict object' has no attribute 'codename'

One fix for this problem is that what I propose in this PR: replace ansible_lsb.codename with ansible_distribution_release.

@nkakouros nkakouros force-pushed the develop branch 2 times, most recently from 4845328 to b7bb783 Compare January 5, 2020 19:20
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

Successfully merging this pull request may close these issues.

1 participant