]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
roles: ceph-defaults: Set ceph_uid on SUSE distributions
authorMarkos Chandras <mchandras@suse.de>
Mon, 13 Aug 2018 12:05:05 +0000 (15:05 +0300)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 13 Aug 2018 19:02:57 +0000 (19:02 +0000)
The ceph_uid is also '167' on SUSE systems so extend the existing task.

Signed-off-by: Markos Chandras <mchandras@suse.de>
roles/ceph-defaults/tasks/facts.yml

index d843756fd6186b8e8e97e9cd0f72a736909fdfca..4701823443ec0802f8cf1073b0ab01303807050a 100644 (file)
     - 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: