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_docker0' is undefined #39

Closed
senorsmile opened this issue May 4, 2015 · 5 comments · Fixed by #63
Closed

'ansible_docker0' is undefined #39

senorsmile opened this issue May 4, 2015 · 5 comments · Fixed by #63

Comments

@senorsmile
Copy link

Getting an error when using the docker.io package instead of lxc:

TASK: [docker.ubuntu | Fix DNS in docker.io] **********************************
fatal: [ubuntu-access-bm] => One or more undefined variables: 'ansible_docker0' is undefined

@angstwad
Copy link
Owner

angstwad commented May 5, 2015

What version of Ubuntu are you running?

@senorsmile
Copy link
Author

14.04 server with dist-upgrade run two days ago.

@MrMMorris
Copy link
Contributor

I hit this when I try and reference ansible_docker0.ipv4.address in my own role. Also on 14.04.

ifconfig does have the docker0 interface

@angstwad
Copy link
Owner

I know it's not a great answer, but I'm a bit busy to look into this
issue. If anyone has a pull request that can resolve this issue with a
sufficient explanation, I'd love to see it. :)

Thanks for the report.

On Wed, May 27, 2015 at 12:05 AM, Marcus Morris notifications@github.com
wrote:

I hit this when I try and reference ansible_docker0.ipv4.address in my
own role. Also on 14.04.

ifconfig does have the `docker0


Reply to this email directly or view it on GitHub
#39 (comment)
.

@MrMMorris
Copy link
Contributor

@angstwad no worries on my end. It seems like docker0 always seems to be 172.17.42.1 anyways and I only ever have on interface :)

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 a pull request may close this issue.

3 participants