45 lines
794 B
Markdown
45 lines
794 B
Markdown
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).
|