mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Run source-install tests for Ubuntu 14.04 as there's no package available
This commit is contained in:
parent
1f89316182
commit
c82468099b
@ -17,7 +17,7 @@ env:
|
|||||||
- distro: ubuntu1404
|
- distro: ubuntu1404
|
||||||
init: /sbin/init
|
init: /sbin/init
|
||||||
run_opts: ""
|
run_opts: ""
|
||||||
playbook: test.yml
|
playbook: test-source-install.yml
|
||||||
- distro: ubuntu1204
|
- distro: ubuntu1204
|
||||||
init: /sbin/init
|
init: /sbin/init
|
||||||
run_opts: ""
|
run_opts: ""
|
||||||
|
@ -5,10 +5,19 @@
|
|||||||
certbot_install_from_source: yes
|
certbot_install_from_source: yes
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Update apt cache.
|
||||||
|
apt: update_cache=yes cache_valid_time=600
|
||||||
|
when: ansible_os_family == 'Debian'
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Install cron (RedHat).
|
- name: Install cron (RedHat).
|
||||||
yum: name=cronie state=present
|
yum: name=cronie state=present
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
|
- name: Install cron (Debian).
|
||||||
|
apt: name=cron state=present
|
||||||
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.git
|
- geerlingguy.git
|
||||||
- role_under_test
|
- role_under_test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user