Skip to content

syaghoubi00/ansible-role-coredns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreDNS

Installs CoreDNS (GitHub)

Requirements

None.

Role Variables

coredns_auto_update: false - Don't automatically update to latest by default

coredns_firewall_disable: true - Open the firewall on coredns_port

coredns_config: - Use an inline configuration

coredns_corefile: - Use a config from file

coredns_group: "coredns" - The name of the CoreDNS group

coredns_health_check_enabled: true - CoreDNS health check endpoint enabled

coredns_health_check_port: 8091 - Port that the CoreDNS health check endpoint will listen on

coredns_install_method: binary - How CoreDNS will be installed, binary or container (container install not implemented yet)

coredns_port: 53 - What port CoreDNS will listen on

coredns_user: "coredns" - The name of the CoreDNS user

coredns_version: null - undefined will use latest

Dependencies

ansible.posix.firewalld: For opening the CoreDNS port with firewalld

community.general.ufw: For opening the CoreDNS port with ufw

Example Playbook

- hosts: dns_servers
  vars:
  roles:
    - syaghoubi00.coredns

License

GPL-3.0-or-later

Author Information

Created by Sebastian Yaghoubi

About

Ansible role - CoreDNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages