{"id":16452913,"url":"https://github.com/vitalk/ansible-dns-zones","last_synced_at":"2026-03-18T19:45:48.472Z","repository":{"id":19362740,"uuid":"22602643","full_name":"vitalk/ansible-dns-zones","owner":"vitalk","description":"Ansible role to generate DNS zones from jinja templates","archived":false,"fork":false,"pushed_at":"2014-10-23T14:44:52.000Z","size":220,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T08:46:37.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/vitalk/dns-zones","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-04T12:06:31.000Z","updated_at":"2024-07-22T11:12:10.000Z","dependencies_parsed_at":"2022-09-02T18:22:10.791Z","dependency_job_id":null,"html_url":"https://github.com/vitalk/ansible-dns-zones","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vitalk/ansible-dns-zones","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-dns-zones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-dns-zones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-dns-zones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-dns-zones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalk","download_url":"https://codeload.github.com/vitalk/ansible-dns-zones/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-dns-zones/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T10:14:10.554Z","updated_at":"2026-02-01T22:31:08.676Z","avatar_url":"https://github.com/vitalk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"DNS Zones\n=========\n\nAnsible role to generate dns zones from jinja templates.\n\nRole Variables\n--------------\n\nOption | Description\n--- | ---\n`dns_zones` | An optional list of dns zones to generate. You **must select** zones you want to generate explicitly.\n`dns_zones_input_directory` | Path to zone files templates. Defaults to `templates` in the role directory.\n`dns_zones_output_directory` | The destination directory for generated zones. Defaults to `files` in the role directory.\n\nUsage Example\n-------------\n\nExplicitly define template for each zone you wanna to create...\n\n```jinja\n# file: templates/db.example.com.j2\n{% extends 'db.zone.j2' %}\n{% set serial = 2014080301 %}\n\n{% block a %}\n            IN  A       1.2.3.4\nns1         IN  A       1.2.3.4\nmail        IN  A       1.2.3.4\nwww         IN  CNAME   @\n{% endblock %}\n```\n\n```yaml\n# file: test.yml\n---\n- hosts: all\n  gather_facts: no\n  vars:\n    dns_zones:\n      - name: example.com\n  roles:\n    - .\n```\n\nAnd finally play it...\n\n```bash\nansible-playbook -i hosts.example test.yml\n```\n\nLicense\n-------\n\nLicensed under the [MIT license](http://mit-license.org/vitalk).\n\nSelf-Promotion\n--------------\n\nCreated by Vital Kudzelka.\n\nDon't hesitate create [a GitHub Issue](https://github.com/vitalk/ansible-dns-zones/issues) if you have any suggestions or found a bug.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-dns-zones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalk%2Fansible-dns-zones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-dns-zones/lists"}