57 lines
915 B
Markdown
57 lines
915 B
Markdown
Rôles 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
|
|
|
|
dns_records:
|
|
- record_name
|
|
record_value
|
|
record_type
|
|
dns_action: delete or add (default 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:
|
|
|
|
```yaml
|
|
|
|
- hosts: localhost
|
|
vars:
|
|
dns_records:
|
|
- record_name: foobar.opendoor.fr
|
|
record_value: 1.2.3.4
|
|
record_type: "A"
|
|
- record_name: plop.opendoor.fr
|
|
record_value: foobar.opendoor.fr.
|
|
record__type: CNAME
|
|
roles:
|
|
- { role: tco.dns }
|
|
```
|
|
|
|
License
|
|
-------
|
|
|
|
BSD
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
Thomas C <thomas@opendoor.fr>
|