Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cognifloyd/ansible-role-basic-network

Ansible Role to remove, on RedHat/CentOS, persistent device names and setup basic eth0 device that uses dhcp.
https://github.com/cognifloyd/ansible-role-basic-network

Last synced: 4 days ago
JSON representation

Ansible Role to remove, on RedHat/CentOS, persistent device names and setup basic eth0 device that uses dhcp.

Awesome Lists containing this project

README

        

basic-network
=============

[![Build Status](https://travis-ci.org/cognifloyd/ansible-role-basic-network.svg?branch=master)](https://travis-ci.org/cognifloyd/ansible-role-basic-network)

Remove Redhat's persistent device names and setup basic eth0 device that uses dhcp.
This is perfect for VMs, especially vagrant boxes.

Requirements
------------

This is RedHat/CentOS specific. The kernel should be booted with net.ifnames=0 biosdevnames=0, but I haven't added a task for that yet.

Role Variables
--------------

no vars

Dependencies
------------

no deps. Maybe there will be a dep to change grub's cmdline, but not yet.

Example Playbook
----------------

- hosts: all
roles:
- cognifloyd.basic-network

License
-------

MIT

Author Information
------------------

By Jacob Floyd (@cognifloyd) while working for Theatro Labs, Inc. (theatro.com). Adapted from [centos7.ks](https://github.com/CentOS/sig-cloud-instance-build/blob/5162d86c/vagrant/centos7.ks) and [geerlingguy.packer-rhel](https://galaxy.ansible.com/geerlingguy/packer-rhel/).