{"id":13758853,"url":"https://github.com/cloudalchemy/ansible-coredns","last_synced_at":"2025-10-07T08:13:09.133Z","repository":{"id":36161071,"uuid":"162003671","full_name":"cloudalchemy/ansible-coredns","owner":"cloudalchemy","description":"Ansible provisioning of CoreDNS","archived":false,"fork":false,"pushed_at":"2024-10-29T14:22:25.000Z","size":99,"stargazers_count":29,"open_issues_count":7,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T17:32:52.786Z","etag":null,"topics":["coredns","molecule","tox"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudalchemy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-16T13:26:31.000Z","updated_at":"2024-05-25T18:17:58.000Z","dependencies_parsed_at":"2024-01-16T17:27:45.888Z","dependency_job_id":"93d12fe3-d3ec-410e-a109-164605c1d790","html_url":"https://github.com/cloudalchemy/ansible-coredns","commit_stats":{"total_commits":100,"total_committers":8,"mean_commits":12.5,"dds":0.47,"last_synced_commit":"70c7336192659d41be77a8e0f5f20db1787ba27f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudalchemy%2Fansible-coredns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudalchemy%2Fansible-coredns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudalchemy%2Fansible-coredns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudalchemy%2Fansible-coredns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudalchemy","download_url":"https://codeload.github.com/cloudalchemy/ansible-coredns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237869096,"owners_count":19379265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coredns","molecule","tox"],"created_at":"2024-08-03T13:00:38.593Z","updated_at":"2025-10-07T08:13:04.113Z","avatar_url":"https://github.com/cloudalchemy.png","language":"Python","funding_links":[],"categories":["Tools"],"sub_categories":["CoreDNS outside K8s"],"readme":"# Ansible Role: CoreDNS\n\n[![Build Status](https://travis-ci.com/cloudalchemy/ansible-coredns.svg?branch=master)](https://travis-ci.com/cloudalchemy/ansible-coredns)\n[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)\n[![Ansible Role](https://img.shields.io/badge/ansible%20role-cloudalchemy.coredns-blue.svg)](https://galaxy.ansible.com/cloudalchemy/coredns/)\n[![GitHub tag](https://img.shields.io/github/tag/cloudalchemy/ansible-coredns.svg)](https://github.com/cloudalchemy/ansible-coredns/tags)\n\n## Description\n\nDeploy [CoreDNS](https://github.com/coredns/coredns) using ansible.\n\n## Requirements\n\n- Ansible \u003e= 2.7 (It might work on previous versions, but we cannot guarantee it)\n\n## Role Variables\n\nAll variables which can be overridden are stored in [defaults/main.yml](defaults/main.yml) file as well as in table below.\n\n| Name                         | Default Value  | Description                        |\n| ---------------------------- | -------------- | -----------------------------------|\n| `coredns_version`            | 1.8.3          | CoreDNS package version |\n| `coredns_binary_local_dir`   | \"\" | Allows to use local packages instead of ones distributed on github. As parameter it takes a directory where `coredns` binary is stored on host on which ansible is ran. This overrides `coredns_version` parameter |\n| `coredns_dns_port`           | 53             | Port on which CoreDNS will listen for DNS requests |\n| `coredns_config_file`        |                | This should contain path to file with coredns configuration [Corefile](https://coredns.io/manual/toc/#configuration) |\n| `coredns_key_files_paths`    | `[\"coredns/keys/*\"]`  | List containing paths to dnssec key files\n| `coredns_zone_files_paths`   | `[\"coredns/zones/*\"]` | List containing paths to zone files\n\n## Example\n\n### Playbook\n\nUse it in a playbook as follows:\n```yaml\n- hosts: all\n  roles:\n    - cloudalchemy.coredns\n```\n\n## Zone files\n\nThe role will search in the paths defined in `coredns_zone_files_paths` in the Ansible templates paths for files to deploy. These can be used with the [`file` plugin](https://coredns.io/plugins/file/).\n\n## Local Testing\n\nThe preferred way of locally testing the role is to use Docker and [molecule](https://github.com/ansible-community/molecule) (v3.x). You will have to install Docker on your system. See \"Get started\" for a Docker package suitable to for your system. Running your tests is as simple as executing `molecule test`.\n\n## Continuous Integration\n\nCombining molecule and circle CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which can take more time than local testing, so please be patient.\n\n## Contributing\n\nSee [contributor guideline](CONTRIBUTING.md).\n\n## Troubleshooting\n\nSee [troubleshooting](TROUBLESHOOTING.md).\n\n## License\n\nThis project is licensed under MIT License. See [LICENSE](/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudalchemy%2Fansible-coredns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudalchemy%2Fansible-coredns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudalchemy%2Fansible-coredns/lists"}