Commit 2881bf65561a2456fe8bc04c713572f4faa2d219

Authored by Alexandre Chapellon
1 parent e19fcd2f86
Exists in master and in 1 other branch rheltarget

only execute yum tasks on RH based distros

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
yml/roles/mongodb/tasks/packages.yml
... ... @@ -12,6 +12,7 @@
12 12 baseurl: "{{ mongo_repo_url }}"
13 13 gpgcheck: yes
14 14 gpgkey: "{{ mongo_repo_key }}"
  15 + when: ansible_pkg_mgr == 'yum'
15 16  
16 17 - name: Set up MongoDB reposirtory (Debian-like)
17 18 apt_repository:
... ...