feat(porkbun): add support for porkbun creds

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-11-11 17:00:42 +01:00
parent 27fe69cfa0
commit 45a41d7c99
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
# apikey provided by Porkbun
porkbun_key: None
# secretapikey provided by Porkbun
porkbun_secret: None

View file

@ -0,0 +1,6 @@
---
- name: Create the file with Porkbun secrets
ansible.builtin.template:
src: templates/porkbun.ini
dest: /etc/porkbun.ini
mode: 0600

View file

@ -0,0 +1,2 @@
dns_porkbun_key={{ porkbun_key }}
dns_porkbun_secret={{ porkbun_secret }}