install all dns plugins

This commit is contained in:
Konstantin Gizdov 2020-03-04 23:48:17 +02:00
parent b3a886e9ee
commit e6d41a8696
2 changed files with 20 additions and 6 deletions

View File

@ -33,6 +33,21 @@ certbot_install_from_source: false
certbot_repo: https://github.com/certbot/certbot.git
certbot_version: master
certbot_keep_updated: true
certbot_dns_providers:
- certbot-dns-cloudflare
- certbot-dns-cloudxns
- certbot-dns-digitalocean
- certbot-dns-dnsimple
- certbot-dns-dnsmadeeasy
- certbot-dns-gehirn
- certbot-dns-google
- certbot-dns-linode
- certbot-dns-luadns
- certbot-dns-nsone
- certbot-dns-ovh
- certbot-dns-rfc2136
- certbot-dns-route53
- certbot-dns-sakuracloud
# Where to put Certbot when installing from source.
certbot_dir: /opt/certbot

View File

@ -7,11 +7,10 @@
update: "{{ certbot_keep_updated }}"
force: true
- name: Install certbot-dns-digitalocean
shell: "cd {{certbot_dir}}/{{ item }} && python setup.py install"
with_items: "{{ certbot_dns_providers }}"
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_dir }}/certbot-auto"
- name: Ensure certbot-auto is executable.
file:
path: "{{ certbot_script }}"
mode: 0755
certbot_script: "/usr/local/bin/certbot"