debops / ansible-ifupdown

Manage network interface configuration in /etc/network/interfaces
GNU General Public License v3.0
25 stars 14 forks source link

/run/network not found #74

Open ondrejkolin opened 6 years ago

ondrejkolin commented 6 years ago

Issue when used on Ubuntu 18.04.1

Can this be result of the changes of the networking tools in Ubuntu?

fatal: [gateway]: FAILED! => {"changed": false, "checksum": "fd62812fbd9ec4c7f99aa4f6253fead2388eb238", "msg": "Destination directory /run/network does not exist"}

drybjed commented 6 years ago

Hmm, could be. The role does not install ifupdown package since it was previously installed by default. I'm not sure what creates the /run/network/ directory, probably the ifup script or something else in the package.

Could you check that if you install the ifupdown package on Bionic, the /run/network/ directory shows up automatically?

ondrejkolin commented 6 years ago

There is no ifupdown in Ubuntu 18:04 anymore, networking backend changed. So the directory does not exist anymore. Installation of ifupdown package solves the issue.