add certbot-nginx support, remove ubuntu 16.04

pull/216/head
nils 1 week ago
parent 63374e662e
commit 3d79c9aff8
  1. 2
      defaults/main.yml
  2. 8
      tasks/include-vars.yml
  3. 2
      tasks/install-with-package.yml
  4. 2
      tasks/main.yml
  5. 2
      vars/Ubuntu-16.04.yml
  6. 2
      vars/default.yml

@ -5,11 +5,11 @@ certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}"
certbot_auto_renew_hour: "3"
certbot_auto_renew_minute: "30"
certbot_auto_renew_options: "--quiet"
certbot_package: certbot
certbot_testmode: false
certbot_hsts: false
# Parameters used when creating new Certbot certs.
certbot_create_if_missing: false
certbot_create_method: standalone

@ -1,8 +0,0 @@
---
- name: Load a variable file based on the OS type, or a default if not found.
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
- "default.yml"

@ -4,4 +4,4 @@
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_package }}"
certbot_script: "certbot"

@ -1,6 +1,4 @@
---
- import_tasks: include-vars.yml
- import_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'

@ -1,2 +0,0 @@
---
certbot_package: letsencrypt

@ -1,2 +0,0 @@
---
certbot_package: certbot
Loading…
Cancel
Save