53ce83859e1017aa8a24433cd29729f91d143459
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:
- 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, dns_records: {{ dns_records }}" }
License
BSD
Author Information
Thomas C thomas@opendoor.fr
Description