Giter Club home page Giter Club logo

ansible-role-ipv6's Introduction

ansible-role-ipv6

GitHub Build Status

Ansible role for enabling or disabling IPv6 via sysctl.

Supported Platforms

  • Alpine
  • Amazonlinux
  • Archlinux
  • CentOS
  • Debian
  • Fedora
  • Manjaro
  • OracleLinux
  • OpenSuse Leap, Tumbleweed
  • Ubuntu

Requirements

Ansible 2.9 or higher is recommended.

Variables

Removed GRUB, modprobe and ifcg-script options for simplicity, as IPv6 module is builtin in the most kernels by default.

Variables and defaults for this role:

---
# role: ansible-role-ipv6
# file: defaults/main.yml

# The role is disabled by default, so you do not get in trouble.
# Checked in tasks/main.yml which includes tasks.yml if enabled.
ipv6_role_enabled: false

# Disable IPv6 via sysctl by default.
# This only results to no IPv6 addresses being assigned to any interface.
# The kernel module is still active, if this is your os default.
ipv6_disable_sysctl: true

# Configuration file for sysctl
ipv6_sysctl_file: "/etc/sysctl.d/98-ipv6.conf"

Dependencies

  • ansible-role-hosts (optional)

Example Playbook

---
# role: ansible-role-ipv6
# file: site.yml

- hosts: all
  become: true
  vars:
    ipv6_role_enabled: true
  roles:
    - role: ansible-role-ipv6

License and Author

Licensed under MIT License. See LICENSE file in repository.

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.