ansible-ifupdown
ansible-ifupdown copied to clipboard
/run/network not found
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"}
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?
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.