public-health-ch/ansible/roles/geerlingguy.certbot/tests/test.yml

20 lines
438 B
YAML
Raw Normal View History

2017-06-02 10:52:15 +00:00
---
- hosts: all
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).
yum: name=cronie state=present
when: ansible_os_family == 'RedHat'
- name: Install cron (Debian).
apt: name=cron state=present
when: ansible_os_family == 'Debian'
roles:
- role_under_test