2024-04-23 11:31:59 +02:00
2024-03-26 09:47:04 +01:00
2023-10-12 16:10:30 +02:00
2023-10-12 16:10:30 +02:00
2023-10-05 16:16:31 +02:00
2024-04-23 11:31:59 +02:00

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
No description provided
Readme 37 KiB