Skip to content

sparknsh/ansible-role-pdns

Repository files navigation

Ansible Role: PowerDNS

Version: 1.2.0

Development of this project is managed in a private repository then pushed out to GitLab and GitHub when we have a new version for you. If you have any issues please contact sparknsh

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

pdns__install_repo: "{{ pdns__auth_powerdns_repo_42 }}"

Pick what version of PowerDNS you want to install.

  • pdns__auth_powerdns_repo_master
  • pdns__auth_powerdns_repo_42
  • pdns__auth_powerdns_repo_41
  • pdns__auth_powerdns_repo_40
pdns__repo_https: True

If you want to load the repo over https or not.

pdns__config: []

pdns__backends: []

Example

pdns__install_repo: "{{ pdns__auth_powerdns_repo_42 }}"
pdns__repo_https: false
pdns__config:
  local-address: 0.0.0.0
  local-port: 53
  daemon: true
  master: false
  slave: false
  disable-axfr: true

pdns__backends:
  gmysql:
    host: 127.0.0.1
    port: 3306
    user: powerdns
    password: powerdns
    dbname: powerdns
    dnssec: false

Example Playbook

- hosts: all
  vars_files:
    - vars/main.yml
  roles:
    - { role: sparknsh.pdns }

License

MIT

Author Information

This role was created in 2018 by sparknsh at Rebel Media, Inc.