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

ansible_distribution is undefined #2

Open
danieleperera opened this issue Sep 4, 2020 · 0 comments
Open

ansible_distribution is undefined #2

danieleperera opened this issue Sep 4, 2020 · 0 comments

Comments

@danieleperera
Copy link

Hey I'm trying to install streamio on

Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

When I ran the following code
ansible-playbook -i inventories/development/hosts.ini phishyme.yml --ask-become-pass --ask-vault-pass
I get this error:
{"msg": "'ansible_distribution' is undefined"}

I also did some research and found this blog post:
https://www.claudiokuenzler.com/blog/989/ansible-linux-distribution-release-discovery-handle-ubuntu-20.04

So it seems that on ubuntu-20.04 ansible_distribution var is no longer available and it is replaced and following variables nested under ansible_lsb could be found to determine the distribution and release.

However, I could not get it to work. Have you got any suggestions? Thanks

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