network

Ansible role network

Network

This playbook allows you to configure networks in linux

TODO

No to do's as of now

Requirements

There are no requirements for this role

Role Variables

This is an example of possible variables:

networks:
- name: "eth1"
  type: "Ethernet"
  onboot: "yes"
  bootproto: "dhcp"
  nm_controlled: "no"
  mtu: 9000
  defroute:
  ipv4_failure_fatal:
  ipv6init:
  ipv6_autoconf:
  ipv6_defroute:
  ipv4_failure_fatal:
  uuid:
  hwaddr:
  ipaddr: "10.14.14.6"
  netmask: 255.255.255.0
  prefix:
  network: "10.14.14.0"
  gateway:
  dns1:
  dns2:
  domain:
  ipv6_peerdns:
  ipv6_peerroutes:
  disabled: false

Dependencies

There are no Dependecies for this role

Example Playbook

- name: Configure network
  hosts: all
  roles:
    - ggiinnoo.network
      networks:
      - name: "eth1"
        type: "Ethernet"
        onboot: "yes"
        bootproto: "none"
        nm_controlled: "no"
        mtu: 9000
        ipaddr: "192.168.32.2"
        netmask: "255.255.255.0"
        network: "192.168.32.0"

License

BSD

Author Information

Creator: Gino Jansen
Website: www.ginojansen.nl
About

Configure networks in linux

Install
ansible-galaxy install ggiinnoo/ansible-role-network
GitHub repository
License
Unknown
Downloads
71
Owner
Code doesn't scare me.. The server does.