certbot: Add missing config file and lint fixes
This commit is contained in:
parent
b81950c5b2
commit
602cc4dfc6
3 changed files with 24 additions and 1 deletions
14
roles/certbot/files/cli.ini
Normal file
14
roles/certbot/files/cli.ini
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Use 4096 bit RSA keys
|
||||||
|
rsa-key-size = 4096
|
||||||
|
|
||||||
|
# Use text interface instead of ncurses/dialog
|
||||||
|
text = True
|
||||||
|
|
||||||
|
# Custom work and log directory
|
||||||
|
config-dir = /srv/letsencrypt
|
||||||
|
work-dir = /srv/letsencrypt
|
||||||
|
logs-dir = /srv/letsencrypt/log
|
||||||
|
|
||||||
|
# Use webroot for authenticator
|
||||||
|
authenticator = webroot
|
||||||
|
webroot-path = /srv/web/certbot.home.foo.sh
|
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: nginx/server }
|
- {role: nginx/server}
|
||||||
|
|
|
@ -56,3 +56,12 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
state: link
|
state: link
|
||||||
|
follow: false
|
||||||
|
|
||||||
|
- name: create certbot config
|
||||||
|
copy:
|
||||||
|
dest: /etc/letsencrypt/cli.ini
|
||||||
|
src: cli.ini
|
||||||
|
mode: 0644
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue