]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-facts: move facts to defaults value
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 16 Jan 2020 14:38:08 +0000 (09:38 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 21 Sep 2020 17:49:03 +0000 (13:49 -0400)
commit1385d2fdd09a1ec182fbf3611821d4af05a70a88
tree82337a77e27b7351be5fdfd53ab96e515f414931
parent9412c44906a75ae250069cf2017134d1cda8478c
ceph-facts: move facts to defaults value

There's no need to define a variable via a fact if we can do it via a
default value. Using a fact could be interesseting to override the
default value on some condition.

- ceph_uid could be set to 167 by default because it's only different on
non containerized deployment on Debian/Ubuntu.
- rbd_client_directory_{owner,group,mode} could be set to ceph,ceph,0770
by default install of null as we are doing in the facts.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1875058
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 7f997e623a7171fa6f00c43cd5b60f3882f8ed04)
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-facts/tasks/facts.yml