dresden-weekly / ansible-network-interfaces

Ansible roles to manage Ubuntu network interface configuration
MIT License
86 stars 62 forks source link

Package netbase required on Debain docker image #61

Open bob5ec opened 7 years ago

bob5ec commented 7 years ago

When configuring a docker Debain image the following error occures:

RUNNING HANDLER [dresden-weekly.network-interfaces : network all interfaces changed] *** fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service networking: host"}

Installing the ifupdown packege seems to fix the issue.

arBmind commented 7 years ago

This seems odd. Sorry I do not have a Docker Debian image at hand. What is the preferred way to restart the network interface without the ifupdown package? Or should we just install it?

bob5ec commented 7 years ago

For me installing it did work. However, I saw some code where you just check that some command line tools are installed. Since I am new to Ansible I am not sure if installing those tools or checking for their existence is the right thing to do.

arBmind commented 7 years ago

Ansible is quite simple. If you know what you would do manually on the command line, it is very easy to automate that. If will leave this open for now. We do not use Debian over here, so it might take a while until someone finds a good fix.