Giter Site home page Giter Site logo

ansible-role-powerdns's Introduction

ansible-powerdns

requirements

  • Vagrant 1.5+
  • Ansible

setup

Add below lines to $HOME/.ssh/config of local machine.

Host 10.200.19.*
    User vagrant
    IdentityFile ~/.vagrant.d/insecure_private_key
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no

Clone this repository.

$ git clone https://github.com/akagisho/ansible-powerdns.git
$ cd ansible-powerdns

Start VMs.

$ vagrant up

Check VMs' connection.

$ ansible -i develop/inventory all -m ping
10.200.19.10 | success >> {
    "changed": false,
    "ping": "pong"
}

10.200.19.11 | success >> {
    "changed": false,
    "ping": "pong"
}

10.200.19.12 | success >> {
    "changed": false,
    "ping": "pong"
}

execute

Execute ansible playbook.

$ vagrant provision
    OR
$ ansible-playbook -i develop/inventory site.yml

Check installation.

$ for i in 10.200.19.10 10.200.19.11 10.200.19.12; do dig @$i example.com. soa +short; done
ns1.example.com. admin.example.com. 2014052907 10800 7200 604800 10800
ns1.example.com. admin.example.com. 2014052907 10800 7200 604800 10800
ns1.example.com. admin.example.com. 2014052907 10800 7200 604800 10800

test

You can test server's configurations by using Serverspec.

$ bundle install --path vendor/bundle
$ rm -f hosts && ln -s <environment>/inventory hosts
$ bundle exec rake serverspec:master
$ bundle exec rake serverspec:slave

use

Access PowerDNS on Rails interface with [email protected]/secret.

references

ansible-role-powerdns's People

Contributors

akagisho avatar russell-io avatar skaji avatar

Watchers

 avatar  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.