Do not use dnf state=latest, but state=present

master
neingeist 9 years ago
parent 15d8746cbe
commit 904d2d0414

@ -1,12 +1,12 @@
--- ---
- name: Install etckeeper - name: Install etckeeper
dnf: name={{ item }} state=latest dnf: name={{ item }} state=present
with_items: with_items:
- git - git
- etckeeper - etckeeper
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: Install etckeeper - name: Install etckeeper
apt: name={{ item }} state=latest apt: name={{ item }} state=present
with_items: with_items:
- git - git
- etckeeper - etckeeper

Loading…
Cancel
Save