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:
@@ -38,4 +38,4 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
roles:
|
||||
- geerlingguy.certbot-route53
|
||||
- thiagoalmeidasa.certbot-route53
|
||||
|
||||
@@ -17,7 +17,5 @@ platforms:
|
||||
pre_build_image: true
|
||||
provisioner:
|
||||
name: ansible
|
||||
ansible_args:
|
||||
- -vvvv
|
||||
playbooks:
|
||||
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|
||||
|
||||
@@ -9,18 +9,32 @@
|
||||
|
||||
pre_tasks:
|
||||
- name: Update apt cache.
|
||||
apt: update_cache=yes cache_valid_time=600
|
||||
apt:
|
||||
name:
|
||||
- python3-apt
|
||||
update_cache: true
|
||||
cache_valid_time: 600
|
||||
when: ansible_os_family == 'Debian'
|
||||
changed_when: false
|
||||
|
||||
- name: Install cron (RedHat).
|
||||
yum: name=cronie state=present
|
||||
yum:
|
||||
name: cronie
|
||||
state: present
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Install cron (Debian).
|
||||
apt: name=cron state=present
|
||||
- name: Install dependencies (Debian).
|
||||
apt:
|
||||
name:
|
||||
- cron
|
||||
- python-setuptools
|
||||
- python3
|
||||
- python3-apt
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
state: present
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
roles:
|
||||
- geerlingguy.git
|
||||
- geerlingguy.certbot-route53
|
||||
- thiagoalmeidasa.certbot-route53
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
roles:
|
||||
- geerlingguy.certbot-route53
|
||||
- thiagoalmeidasa.certbot-route53
|
||||
- geerlingguy.nginx
|
||||
|
||||
tasks:
|
||||
|
||||
Reference in New Issue
Block a user