mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-17 18:40:39 +02:00
added a role variable to set global certbot options in configuration file
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Ensure configuration directory is present.
|
||||
file:
|
||||
path: /etc/letsencrypt
|
||||
state: directory
|
||||
|
||||
- name: Install Certbot configuration file.
|
||||
template:
|
||||
src: cli.ini.j2
|
||||
dest: /etc/letsencrypt/cli.ini
|
||||
@@ -7,6 +7,8 @@
|
||||
- import_tasks: install-from-source.yml
|
||||
when: certbot_install_from_source
|
||||
|
||||
- import_tasks: config-file.yml
|
||||
|
||||
- include_tasks: create-cert-standalone.yml
|
||||
with_items: "{{ certbot_certs }}"
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user