tco.dns : delete and add record works

This commit is contained in:
2023-10-04 15:15:11 +02:00
commit 8270ba251c
8 changed files with 155 additions and 0 deletions

44
README.md Normal file
View File

@@ -0,0 +1,44 @@
Role Name
=========
Add or remove dns records
Requirements
------------
ansible714.ovh.dns module
Role Variables
--------------
ovh_api_application_key
ovh_api_application_secret
ovh_api_consumer_key
record_name
record_value
record_type
dns_action: delete or add
Dependencies
------------
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: localhost
roles:
- { role: tco.dns, record_name: "foobar.opendoor.fr", record_value: "1.2.3.43, record_type: 'A', dns_action: 'add' }
License
-------
BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).