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