summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-12-25 15:23:05 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-12-25 15:23:05 +0100
commit2d4b90bcd96f7e4bba4ac3d53d47925ad77b71bd (patch)
tree67432c36515c9533cea5cfd675cafdc8af1fc88e /roles/bittorrent
parenta70091ad7372d17f0dfb58663a6ed4479ca40709 (diff)
downloadplaybooks-ansible-2d4b90bcd96f7e4bba4ac3d53d47925ad77b71bd.tar.gz
playbooks-ansible-2d4b90bcd96f7e4bba4ac3d53d47925ad77b71bd.tar.xz
playbooks-ansible-2d4b90bcd96f7e4bba4ac3d53d47925ad77b71bd.zip
Replace yum and dnf modules with package module
Diffstat (limited to 'roles/bittorrent')
-rw-r--r--roles/bittorrent/tasks/pkgs.yml9
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