keytab: add check for yum/dnf

This commit is contained in:
Peter Robinson 2016-11-03 18:57:41 +00:00
parent 655e7bc82b
commit 246a37280f

View file

@ -6,6 +6,15 @@
- keytab
- package
- krb5
when: ansible_distribution_major_version|int < 22
- name: Install ipa-client
dnf: name=ipa-client state=present
tags:
- keytab
- package
- krb5
when: ansible_distribution_major_version|int > 21
- name: Determine whether we need to get keytab
stat: path={{kt_location}}