summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent/tasks/pkgs.yml
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-07-15 21:38:55 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-07-15 21:38:55 +0200
commit0f0f5dc291d8c649e205fb29e3b6b8cd9c254395 (patch)
tree9b1a1ee9f6e57571142b47182342e51be013590a /roles/bittorrent/tasks/pkgs.yml
parenta625df4e82152239f388c170e2c1720d865f124d (diff)
downloadplaybooks-ansible-0f0f5dc291d8c649e205fb29e3b6b8cd9c254395.tar.gz
playbooks-ansible-0f0f5dc291d8c649e205fb29e3b6b8cd9c254395.tar.xz
playbooks-ansible-0f0f5dc291d8c649e205fb29e3b6b8cd9c254395.zip
Create new bittorrent role
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"