Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtulio/ansible-role-cloud-dns
Ansible Role to manage Cloud DNS Domains
https://github.com/mtulio/ansible-role-cloud-dns
Last synced: 8 days ago
JSON representation
Ansible Role to manage Cloud DNS Domains
- Host: GitHub
- URL: https://github.com/mtulio/ansible-role-cloud-dns
- Owner: mtulio
- License: apache-2.0
- Created: 2022-06-29T01:17:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T05:54:24.000Z (over 1 year ago)
- Last Synced: 2024-05-10T00:02:24.559Z (6 months ago)
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.](https://www.repostatus.org/badges/latest/wip.svg)](#)
[![](https://github.com/mtulio/ansible-role-cloud-dns/actions/workflows/release.yml/badge.svg)](https://github.com/mtulio/ansible-role-cloud-dns/actions/workflows/release.yml)
[![](https://github.com/mtulio/ansible-role-cloud-dns/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mtulio/ansible-role-cloud-dns/actions/workflows/ci.yml)
[![](https://img.shields.io/ansible/role/59600)](https://galaxy.ansible.com/mtulio/cloud_dns)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 [Collection](https://docs.ansible.com/ansible/latest/collections/community/digitalocean/index.html) `community.digitalocean`
```
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):
```yaml
- 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:
```yaml
- 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)](https://github.com/mtulio)