added a role variable to set global certbot options in configuration file

This commit is contained in:
exploide
2018-01-18 17:06:07 +01:00
parent 3f1a802d71
commit 18b991db03
5 changed files with 26 additions and 2 deletions
+10
View File
@@ -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
+2
View File
@@ -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: