corrected letsencrypt permissions for podman, post-hook
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
path: /srv/http/letsencrypt
|
path: /srv/http/letsencrypt
|
||||||
owner: "{{ podman_user }}"
|
owner: "{{ podman_user }}"
|
||||||
group: "{{ podman_user }}"
|
group: "{{ podman_user }}"
|
||||||
mode: 0644
|
mode: 0755
|
||||||
state: directory
|
state: directory
|
||||||
tags:
|
tags:
|
||||||
- ssl
|
- ssl
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- "{{ pihole_path }}/config"
|
- "{{ pihole_path }}/config"
|
||||||
- "{{ pihole_path }}/dnsmasq"
|
- "{{ pihole_path }}/dnsmasq"
|
||||||
|
- "/srv/http/letsencrypt"
|
||||||
tags: pihole
|
tags: pihole
|
||||||
|
|
||||||
- name: flush handlers
|
- name: flush handlers
|
||||||
|
|||||||
@@ -5,5 +5,5 @@
|
|||||||
name: certbot_renew
|
name: certbot_renew
|
||||||
special_time: weekly
|
special_time: weekly
|
||||||
job: >-
|
job: >-
|
||||||
certbot renew --post-hook 'systemctl restart nginx'
|
certbot renew --post-hook "su -s /bin/sh podman -c 'podman restart nginx'"
|
||||||
tags: cron
|
tags: cron
|
||||||
|
|||||||
Reference in New Issue
Block a user