Skip to content

Commit

Permalink
start dnf 2 compatible dnf-automatic-install.timer instead of dnf-aut…
Browse files Browse the repository at this point in the history
…omatic.timer
  • Loading branch information
exploide committed Jul 11, 2017
1 parent d5f43c3 commit 6bc5a63
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
---

- name: install dnf-automatic package
package: name=dnf-automatic state=present
- name: Install dnf-automatic package
package:
name: dnf-automatic
state: present

- name: deploy dnf-automatic configuration file
template: src=automatic.conf.j2 dest=/etc/dnf/automatic.conf
- name: Deploy dnf-automatic configuration file
template:
src: automatic.conf.j2
dest: /etc/dnf/automatic.conf

- name: start and enable systemd timer for dnf-automatic
service: name=dnf-automatic.timer state=started enabled=yes
- name: Start and enable systemd timer for dnf-automatic
service:
name: dnf-automatic-install.timer
state: started
enabled: yes

0 comments on commit 6bc5a63

Please sign in to comment.