Skip to content

Manage network interface configuration in /etc/network/interfaces

License

Notifications You must be signed in to change notification settings

ypid/ansible-ifupdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DebOps project ifupdown

Travis CI test-suite Ansible Galaxy

This role can be used to manage network interface configuration on Debian and derivative operating systems. It manages configuration in /etc/network/interfaces directory and can be used to create different interface layouts across the cluster.

debops.ifupdown role tries to recognize several environments (LXC container, OpenVZ container, system with installed NetworkManager) and can automatically select one of the suggested configurations. For most scenarios, debops.ifupdown will try to configure up to two network interfaces (non-existent interfaces are gracefully skipped) with network bridges attached to them, which allows to easily connect virtual machines or containers to the public or private network.

In case an advanced configuration is required (more than two network interfaces, bonding, modem connections, NAT, etc.), you can easily override automatically selected configuration using Ansible inventory. This role can also be used as a dependency of another role which allows for example to easily manage NAT networks using debops.nat role.

Some features of interface declarations require additional packages. These are installed with this package unconditionally. For now this is only resolvconf, which will start to manage your :file:/etc/resolv.conf file.

Installation

This role requires at least Ansible v1.7.0. To install it, run:

ansible-galaxy install debops.ifupdown

Documentation

More information about debops.ifupdown can be found in the official debops.ifupdown documentation.

Are you using this as a standalone role without DebOps?

You may need to include missing roles from the DebOps common playbook into your playbook.

Try DebOps now for a complete solution to run your Debian-based infrastructure.

Authors and license

ifupdown role was written by:

License: GPLv3


This role is part of the DebOps project. README generated by ansigenome.

About

Manage network interface configuration in /etc/network/interfaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published