417b60a0ac
* 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.
9 lines
202 B
YAML
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
|