From 7172737f13cba38c8a80f1ad99c091c8726af9b9 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 13 Aug 2018 15:05:05 +0300 Subject: [PATCH] roles: ceph-defaults: Set ceph_uid on SUSE distributions The ceph_uid is also '167' on SUSE systems so extend the existing task. Signed-off-by: Markos Chandras --- roles/ceph-defaults/tasks/facts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-defaults/tasks/facts.yml b/roles/ceph-defaults/tasks/facts.yml index d843756fd..470182344 100644 --- a/roles/ceph-defaults/tasks/facts.yml +++ b/roles/ceph-defaults/tasks/facts.yml @@ -190,12 +190,12 @@ - not containerized_deployment - ansible_os_family == 'Debian' -- name: set_fact ceph_uid for red hat based system - non container +- name: set_fact ceph_uid for red hat or suse based system - non container set_fact: ceph_uid: 167 when: - not containerized_deployment - - ansible_os_family == 'RedHat' + - ansible_os_family in ['RedHat', 'Suse'] - name: set_fact ceph_uid for debian based system - container set_fact: