cloud_dns

ansible-role-cloud-dns

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

Ansible Role to manage CLoud Domains.

Providers

  • Supported providers
Provider Offering
AWS Route53
DigitalOcean Domains

Requirements

  • Ansible Collection amazon.aws
ansible-galaxy collection install amazon.aws
  • Ansible Collection community.aws
ansible-galaxy collection install community.aws
ansible-galaxy collection install community.digitalocean

Role Variables

  • cloud_dns_zones: list of DNS domains (zones) to be created on cloud provider.

Example Playbook

  • Create Route53 domain (AWS):
- hosts: localhost
  roles:
  - role: mtulio.cloud_load_balancer
    cloud_dns_zones:
      - domain: "example.com"
        provider: aws
      - domain: "private.example.com"
        provider: aws
        vpc_name: "my-vpc"
        vpc_region: us-east-1
        private_zone: yes
  • Create Domain on DigitalOcean:
- hosts: localhost
  roles:
  - role: mtulio.cloud_load_balancer
    cloud_dns_zones:
      - domain: "example.com"
        provider: do
        vpc_region: "nyc3"
        project: "my-project"

License

Apache-2.0

Author Information

Marco Braga (@mtulio)

Install
ansible-galaxy install mtulio/ansible-role-cloud-dns
GitHub repository
License
apache-2.0
Downloads
17
Owner