From b206efaeab072e20c9b1d1c0eeb49111eae79a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 3 Mar 2016 14:43:01 +0100 Subject: [PATCH] ceph-rgw: install libnss3-tools for keystone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes: #598 Signed-off-by: Sébastien Han --- roles/ceph-rgw/tasks/openstack-keystone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/roles/ceph-rgw/tasks/openstack-keystone.yml b/roles/ceph-rgw/tasks/openstack-keystone.yml index 770782015..b9b474327 100644 --- a/roles/ceph-rgw/tasks/openstack-keystone.yml +++ b/roles/ceph-rgw/tasks/openstack-keystone.yml @@ -1,4 +1,22 @@ --- +- name: install libnss3-tools on redhat + yum: + name: libnss3-tools + state: present + when: ansible_pkg_mgr == "yum" + +- name: install libnss3-tools on redhat + dnf: + name: libnss3-tools + state: present + when: ansible_pkg_mgr == "dnf" + +- name: install libnss3-tools on debian + apt: + name: libnss3-tools + state: present + when: ansible_pkg_mgr == 'apt' + - name: create nss directory for keystone certificates file: path: "{{ radosgw_nss_db_path }}"