From: Markos Chandras Date: Mon, 13 Aug 2018 12:05:05 +0000 (+0300) Subject: roles: ceph-defaults: Set ceph_uid on SUSE distributions X-Git-Tag: v3.2.0beta2~63 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7172737f13cba38c8a80f1ad99c091c8726af9b9;p=ceph-ansible.git 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 --- 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: