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: '*'
|
password: '*'
|
||||||
system: True
|
system: True
|
||||||
|
|
||||||
|
- name: add pdns user to letsencrypt group
|
||||||
|
user:
|
||||||
|
name: pdns
|
||||||
|
groups: letsencrypt
|
||||||
|
append: yes
|
||||||
|
notify:
|
||||||
|
- restart powerdns
|
||||||
|
|
||||||
- name: create folders
|
- name: create folders
|
||||||
file:
|
file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
|
|
@ -25,7 +33,7 @@
|
||||||
path: "{{ powerdns.letsencrypthandler.dbpath }}"
|
path: "{{ powerdns.letsencrypthandler.dbpath }}"
|
||||||
owner: letsencrypt
|
owner: letsencrypt
|
||||||
group: pdns
|
group: pdns
|
||||||
mode: 0644
|
mode: 0664
|
||||||
state: touch
|
state: touch
|
||||||
|
|
||||||
- name: copy powerdns letsencrypt handler
|
- name: copy powerdns letsencrypt handler
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue