]> git-server-git.apps.pok.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>
Thu, 16 Jan 2020 18:57:11 +0000 (13:57 -0500)
commit7f997e623a7171fa6f00c43cd5b60f3882f8ed04
tree1466ce1c58fc0926bfa05ac0f2a688ab04a6b822
parente790b0851d3d2a4b98d75d7a5ae4006aebd56e0e
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.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-facts/tasks/facts.yml