nacl30d / setup_servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server setup utilities

Ansible Lint

Install and configure following services.

  • DNS: dnsmasq as local dns server

Configures

Basic

  • Create your inventory file like inventory/hosts.sample

DNS

  • Set local domain at domain: "<YOUR_DOMAIN_HERE>" in roles/dns/vars/dns.yml
  • Set hosts file as hosts-dnsmasq in roles/dns/files
    • For exsample, this repo contains hosts-dnsmasq.sample

Usage

Dry-Run

To check diff of configure files, run this.

$ ansible-playbook -i inventory/hosts --diff --check

Install

$ ansible-playbook -i inventory/hosts main.yml --ask-become-pass

About