mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
81f3ad45c9
* Add gandi_livedns module This module uses REST API to register, update and delete domain name entries in Gandi DNS service (https://www.gandi.net/en/domain). * Apply suggestions from code review * Update plugins/module_utils/gandi_livedns_api.py Co-authored-by: Gregory Thiemonge <greg@thiemonge.org> Co-authored-by: Felix Fontein <felix@fontein.de>
34 lines
683 B
YAML
34 lines
683 B
YAML
# Copyright: (c) 2020 Gregory Thiemonge <gregory.thiemonge@gmail.com>
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
---
|
|
gandi_livedns_domain_name: "ansible-tests.org"
|
|
gandi_livedns_record_items:
|
|
# Single A record
|
|
- record: test-www
|
|
type: A
|
|
values:
|
|
- 10.10.10.10
|
|
ttl: 400
|
|
update_values:
|
|
- 10.10.10.11
|
|
update_ttl: 800
|
|
|
|
# Multiple A records
|
|
- record: test-www-multiple
|
|
type: A
|
|
ttl: 3600
|
|
values:
|
|
- 10.10.11.10
|
|
- 10.10.11.10
|
|
update_values:
|
|
- 10.10.11.11
|
|
- 10.10.11.13
|
|
|
|
# CNAME
|
|
- record: test-cname
|
|
type: CNAME
|
|
ttl: 10800
|
|
values:
|
|
- test-www2
|
|
update_values:
|
|
- test-www
|