mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Add gandi_livedns module (#328)
* 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>
This commit is contained in:
parent
606eb0df15
commit
81f3ad45c9
10 changed files with 652 additions and 0 deletions
34
tests/integration/targets/gandi_livedns/defaults/main.yml
Normal file
34
tests/integration/targets/gandi_livedns/defaults/main.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue