mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-17 10:30:40 +02:00
Fix tests on debian10, CentOS 7 and remove support for CentOS 6
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ ansible_distribution }}.yml"
|
||||
- "{{ ansible_os_family }}.yml"
|
||||
- "default.yml"
|
||||
|
||||
@@ -7,12 +7,6 @@
|
||||
update: "{{ certbot_keep_updated }}"
|
||||
force: true
|
||||
|
||||
- name: Install Certbot route53 plugin.
|
||||
package:
|
||||
name:
|
||||
- python3-certbot-dns-route53
|
||||
state: present
|
||||
|
||||
- name: Set Certbot script variable.
|
||||
set_fact:
|
||||
certbot_script: "{{ certbot_dir }}/certbot-auto"
|
||||
@@ -21,3 +15,8 @@
|
||||
file:
|
||||
path: "{{ certbot_script }}"
|
||||
mode: 0755
|
||||
|
||||
- name: Install Certbot route53 plugin.
|
||||
package:
|
||||
name: "{{ certbot_route53_package }}"
|
||||
state: present
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
|
||||
- name: Install Certbot route53 plugin.
|
||||
package:
|
||||
name:
|
||||
- python3-certbot-dns-route53
|
||||
name: "{{ certbot_route53_package }}"
|
||||
state: present
|
||||
|
||||
- name: Set Certbot script variable.
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
with_items: "{{ certbot_certs }}"
|
||||
when:
|
||||
- certbot_create_if_missing
|
||||
- certbot_create_method == 'standalone'
|
||||
- certbot_create_method == 'certonly'
|
||||
loop_control:
|
||||
loop_var: cert_item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user