commit 3e0b069b4913eb193d50d96c5292ec9d9cb65998
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Tue Nov 7 01:04:01 2017 +0100
Install nss_db for fas-clietn on both CentOS and Fedora supported releases.
roles/fas_client/tasks/main.yml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/roles/fas_client/tasks/main.yml b/roles/fas_client/tasks/main.yml
index d8c2165..1de9f37 100644
--- a/roles/fas_client/tasks/main.yml
+++ b/roles/fas_client/tasks/main.yml
@@ -30,7 +30,8 @@
- name: install nss_db on rhel hosts only
yum: state=present name=nss_db
- when: ansible_distribution_major_version|int == 6
+ when: (ansible_distribution == "CentOS" and
ansible_distribution_major_version|int >= 6) or
+ (ansible_distribution == "Fedora" and
ansible_distribution_major_version|int >= 24)
tags:
- packages
- fas_client
Show replies by date