ansible-ffibk/roles/pdns-api/tasks/main.yml
prisma01 417b60a0ac
Add role that allows access to powerdns api for certian ips via reverse proxy (#24)
* Add role that allows access to powerdns api for certian ips via reverse proxy

* Remove unneeded variables, remove systemd handlers.

* Allow a list of access ips. Make this mandatory.
2019-08-31 22:24:44 +02:00

9 lines
202 B
YAML

---
- name: Template nginx configuration.
template:
src: "pdns_api.conf.j2"
dest: "/etc/nginx/conf.d/pdns_api.conf"
owner: "root"
group: "root"
mode: "0644"
notify: Reload nginx