diff options
Diffstat (limited to 'roles/bittorrent/tasks/pkgs.yml')
-rw-r--r-- | roles/bittorrent/tasks/pkgs.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/roles/bittorrent/tasks/pkgs.yml b/roles/bittorrent/tasks/pkgs.yml index f5b0f87..9862738 100644 --- a/roles/bittorrent/tasks/pkgs.yml +++ b/roles/bittorrent/tasks/pkgs.yml @@ -1,7 +1,4 @@ - name: Installation de transmission - yum: name=transmission-daemon state=present - when: ansible_pkg_mgr == "yum" - -- name: Installation de transmission - dnf: name=transmission-daemon state=present - when: ansible_pkg_mgr == "dnf" + package: + name: transmission-daemon + state: present |