Skip to content

Commit

Permalink
dns-pdns: Set permissions when restoring db
Browse files Browse the repository at this point in the history
  • Loading branch information
arodier committed Sep 22, 2023
1 parent ac0505f commit 68e588a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/dns-pdns/tasks/restore/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
ansible.builtin.copy:
src: '{{ backup_directory }}/pdns/default.db'
dest: /var/lib/powerdns/default.db
owner: pdns
group: pdns
mode: '0644'

- name: Start the DNS server
ansible.builtin.systemd:
Expand Down

0 comments on commit 68e588a

Please sign in to comment.