From 73928a5d7bcaebf84f9c5d02e4eaf411c73c2485 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 15 Feb 2016 07:49:03 -0500 Subject: [PATCH] only check for subscription manager on RH systems Signed-off-by: Alfredo Deza --- roles/ceph-agent/tasks/pre_requisite.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-agent/tasks/pre_requisite.yml b/roles/ceph-agent/tasks/pre_requisite.yml index b9f5dbe46..ac019c3e0 100644 --- a/roles/ceph-agent/tasks/pre_requisite.yml +++ b/roles/ceph-agent/tasks/pre_requisite.yml @@ -3,6 +3,8 @@ command: subscription-manager identity register: subscription changed_when: false + when: + ansible_os_family == 'RedHat' - name: install dependencies apt: