You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
543 B
24 lines
543 B
9 years ago
|
---
|
||
6 years ago
|
- name: Converge
|
||
|
hosts: all
|
||
|
become: true
|
||
9 years ago
|
|
||
8 years ago
|
pre_tasks:
|
||
|
- name: Update apt cache.
|
||
8 years ago
|
apt: update_cache=yes cache_valid_time=600
|
||
8 years ago
|
when: ansible_os_family == 'Debian'
|
||
8 years ago
|
changed_when: false
|
||
8 years ago
|
|
||
7 years ago
|
- name: Install dependencies (RedHat).
|
||
|
yum: name={{ item }} state=present
|
||
8 years ago
|
when: ansible_os_family == 'RedHat'
|
||
7 years ago
|
with_items:
|
||
|
- cronie
|
||
|
- epel-release
|
||
8 years ago
|
|
||
|
- name: Install cron (Debian).
|
||
|
apt: name=cron state=present
|
||
8 years ago
|
when: ansible_os_family == 'Debian'
|
||
8 years ago
|
|
||
9 years ago
|
roles:
|
||
6 years ago
|
- geerlingguy.certbot
|