mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-12-02 14:33:43 +00:00
Add more configuration tasks for PowerDNS in Deployer
This commit is contained in:
@@ -393,6 +393,18 @@
|
|||||||
- powerdns-authorative
|
- powerdns-authorative
|
||||||
- dns
|
- dns
|
||||||
|
|
||||||
|
- name: "Deployer - PowerDNS Authorative - Configure - Create Zone"
|
||||||
|
ansible.builtin.uri:
|
||||||
|
url: "http://127.0.0.1:8081/api/v1/servers/localhost/zones/tjas."
|
||||||
|
method: POST
|
||||||
|
headers:
|
||||||
|
X-API-Key: "{{ config.powerdns.apiKey }}"
|
||||||
|
status_code: 201
|
||||||
|
body_format: json
|
||||||
|
body: {"rrsets": "false"}
|
||||||
|
tags:
|
||||||
|
- powerdns-authorative
|
||||||
|
- dns
|
||||||
|
|
||||||
- name: "Deployer - PowerDNS Recursor - Configure - Create Folder"
|
- name: "Deployer - PowerDNS Recursor - Configure - Create Folder"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
Reference in New Issue
Block a user