mirror of
https://github.com/MatteZ02/infra.git
synced 2024-11-09 20:40:18 +00:00
Update
This commit is contained in:
parent
f936124a02
commit
c8fcb59daf
@ -94,6 +94,21 @@
|
||||
regexp: "^root"
|
||||
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"
|
||||
pip:
|
||||
name: certbot
|
||||
@ -119,13 +134,6 @@
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Create Folder"
|
||||
file:
|
||||
path: "/etc/letsencrypt/renewal-hooks/pre"
|
||||
state: directory
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Auth Hook"
|
||||
copy:
|
||||
src: "../files/certbot/nginx.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user