]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: only do yum tasks on yum-based systems
authorKen Dreyer <kdreyer@redhat.com>
Thu, 22 Oct 2015 15:29:21 +0000 (09:29 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 22 Oct 2015 15:29:21 +0000 (09:29 -0600)
These tasks are not relevant on Ubuntu systems

ansible/roles/ansible-jenkins/tasks/jenkins.yml

index 596c0c11a7beaaaf6ed2c4fd309c6fdb0701e8aa..81008dc59481ce2c241b8f1b96134decf45338d4 100644 (file)
@@ -1,7 +1,9 @@
 ---
 - include: repo.yml
+  when: ansible_pkg_mgr  == "yum"
 
 - include: dependencies_yum.yml
+  when: ansible_pkg_mgr  == "yum"
 
 - include: nginx.yml