Fix tests on debian10, CentOS 7 and remove support for CentOS 6

This commit is contained in:
Thiago Almeida
2020-09-12 16:51:27 +02:00
parent 9e4cb6fb00
commit efc9f67064
14 changed files with 47 additions and 34 deletions
+1
View File
@@ -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"
+5 -6
View File
@@ -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
+1 -2
View File
@@ -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
View File
@@ -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