This commit is contained in:
Christer Warén 2024-05-05 19:34:07 +03:00
parent 4482a95604
commit 7106f0d962

View File

@ -94,6 +94,21 @@
regexp: "^root" regexp: "^root"
line: "root:100000:65536" line: "root:100000:65536"
- name: "Installer - Certbot - Create Folder"
file:
path: "{{ path }}"
state: directory
vars:
paths:
- /root/certs
- /etc/letsencrypt/renewal-hooks/pre
loop: "{{ paths }}"
loop_control:
label: "{{ path }}"
loop_var: "path"
tags:
- certbot
- name: "Installer - Certbot - Python Library" - name: "Installer - Certbot - Python Library"
pip: pip:
name: certbot name: certbot
@ -119,13 +134,6 @@
tags: tags:
- certbot - certbot
- name: "Installer - Certbot - Create Folder"
file:
path: "/etc/letsencrypt/renewal-hooks/pre"
state: directory
tags:
- certbot
- name: "Installer - Certbot - Auth Hook" - name: "Installer - Certbot - Auth Hook"
copy: copy:
src: "../files/certbot/nginx.sh" src: "../files/certbot/nginx.sh"