summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent/tasks/pkgs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bittorrent/tasks/pkgs.yml')
-rw-r--r--roles/bittorrent/tasks/pkgs.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/bittorrent/tasks/pkgs.yml b/roles/bittorrent/tasks/pkgs.yml
new file mode 100644
index 0000000..f5b0f87
--- /dev/null
+++ b/roles/bittorrent/tasks/pkgs.yml
@@ -0,0 +1,7 @@
+- 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"