Files
ansible_dns/README.md
Thomas Constans 53ce83859e set dns_action as default add
remove api key and secret from defaults
2024-03-26 09:47:04 +01:00

939 B

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