rytis / rytis.utils / 0.0.3 / module / dns_provider Manage DNS records on various DNS providers Authors: Rytis Sileika (@rytis)rytis.utils.dns_provider (0.0.3) — module
Install with ansible-galaxy collection install rytis.utils:==0.0.3
collections: - name: rytis.utils version: 0.0.3
Manage DNS records on a selection of popular DNS providers. Module uses `python-lexicon` under the hood to interact with DNS providers
- name: Create a new A record rytis.utils.dns_provider: provider_name: "powerdns" action: "create" delegated: "my_subdomain" domain: "example.com" type: "A" name: "test" content: "192.168.0.1" provider_options: pdns_server: "http://<powerdns_authoritative_server_address>:8081" auth_token: "<powerdns_auth_server_token>"