Git Product home page Git Product logo

ansible-opennic-setup's Introduction

OpenNIC Setup with Ansible

This is a simple Ansible Script to use to setup an OpenNIC server with Ansible. It currently supports CentOS 7, Fedora 28 through 33, and Ubuntu 18.04 LTS. I do plan to add Debian and Ubuntu 20.04 support in the future. It is also an open project, so feel free to fork and make your own changes. I also welcome feedback.

How To Use

On your local machine(or your Ansible host), and update your /etc/ansible/hosts like below updating with the IP Addresses of your servers:

[opennic]
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx

Once you have added the hosts to your ansible hosts file, run the following command in the directory you have dropped this playbook:

ansible-playbook opennic-setup.yml

Notes For Each OS

CentOS 7

  • Installs and configures Firewalld
  • Installs and configures Named
  • Configures SELinux to allow Named without turning off SELinux

Fedora 28

  • NOTE: Make sure in your hosts file to add your Fedora servers like so "xxx.xxx.xxx.xxx ansible_python_interpreter=/usr/bin/python3"
  • Installs and configures Firewalld
  • Installs and configures Named
  • Configures SELinux to allow Named without turning off SELinux

Ubuntu 18.04 LTS

  • NOTE: Python must be installed on your server for this to work sudo apt-get install python
  • Installs and configures Bind9
  • Installs and sets UFW to allow SSH and Port 53 (doesn't do any other changes)

To-Do

  • Debian Support
  • Ubuntu 20.04 LTS Support

ansible-opennic-setup's People

Contributors

hack13 avatar joshlay avatar ukfhvp0zms avatar

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.