@ -1,18 +1,18 @@
---
- name: "install etckeeper (fedora)"
dnf: name={{ item }} state=present
with_items:
- git
- findutils
- hostname
- mailx
- etckeeper
dnf:
name:
when: ansible_distribution == 'Fedora'
- name: "install etckeeper (debian)"
apt: name={{ item }} state=present
apt:
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'