Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
centos
fedora Updated masters and added epic tld Sep 7, 2019
ubuntu
.gitignore Added gitignore to protect from accidents Sep 9, 2018
LICENSE OpenNIC Ansible Setup V1 release Sep 9, 2018
README.md Minor README update Sep 10, 2018
opennic-setup.yml

README.md

OpenNIC Setup with Ansible

This is a simple Ansible Script to use to setup an OpenNIC server with Ansible. It currently only supports CentOS 7. I do plan to add Debian and Ubuntu 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: Pyton 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 Support
You can’t perform that action at this time.