diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2018-12-25 15:23:05 +0100 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2018-12-25 15:23:05 +0100 |
commit | 2d4b90bcd96f7e4bba4ac3d53d47925ad77b71bd (patch) | |
tree | 67432c36515c9533cea5cfd675cafdc8af1fc88e /roles/bittorrent | |
parent | a70091ad7372d17f0dfb58663a6ed4479ca40709 (diff) | |
download | playbooks-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.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 |