Add possiblity to install certbot plugins

This commit is contained in:
alexppg
2018-10-16 09:27:08 +02:00
parent 09b5bd20e9
commit 1ce5d87ca0
2 changed files with 23 additions and 2 deletions
+9
View File
@@ -15,3 +15,12 @@
file:
path: "{{ certbot_script }}"
mode: 0755
- name: Install plugins
pip:
name: "file://{{ my_certbot_dir}}/certbot-{{ item }}/"
state: present
extra_args: --upgrade
with_items:
- "{{ certbot_plugins }}"
when: certbot_plugins is defined