fix sqlite db permissions
This commit is contained in:
parent
a8cf3a5b4b
commit
e798c4bce9
1 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,14 @@
|
|||
password: '*'
|
||||
system: True
|
||||
|
||||
- name: add pdns user to letsencrypt group
|
||||
user:
|
||||
name: pdns
|
||||
groups: letsencrypt
|
||||
append: yes
|
||||
notify:
|
||||
- restart powerdns
|
||||
|
||||
- name: create folders
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
|
|
@ -25,7 +33,7 @@
|
|||
path: "{{ powerdns.letsencrypthandler.dbpath }}"
|
||||
owner: letsencrypt
|
||||
group: pdns
|
||||
mode: 0644
|
||||
mode: 0664
|
||||
state: touch
|
||||
|
||||
- name: copy powerdns letsencrypt handler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue