only check for subscription manager on RH systems

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/539/head
Alfredo Deza 2016-02-15 07:49:03 -05:00
parent c59d6f00cb
commit 73928a5d7b
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
command: subscription-manager identity command: subscription-manager identity
register: subscription register: subscription
changed_when: false changed_when: false
when:
ansible_os_family == 'RedHat'
- name: install dependencies - name: install dependencies
apt: apt: