|
|
@ -13,11 +13,12 @@ |
|
|
|
changed_when: false |
|
|
|
changed_when: false |
|
|
|
|
|
|
|
|
|
|
|
- name: Install dependencies (RedHat). |
|
|
|
- name: Install dependencies (RedHat). |
|
|
|
yum: name={{ item }} state=present |
|
|
|
yum: |
|
|
|
when: ansible_os_family == 'RedHat' |
|
|
|
name: |
|
|
|
with_items: |
|
|
|
|
|
|
|
- cronie |
|
|
|
- cronie |
|
|
|
- epel-release |
|
|
|
- epel-release |
|
|
|
|
|
|
|
state: present |
|
|
|
|
|
|
|
when: ansible_os_family == 'RedHat' |
|
|
|
|
|
|
|
|
|
|
|
- name: Install cron (Debian). |
|
|
|
- name: Install cron (Debian). |
|
|
|
apt: name=cron state=present |
|
|
|
apt: name=cron state=present |
|
|
|