]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
config: remove complex jinja logic in ceph.conf.j2
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Oct 2018 14:09:33 +0000 (16:09 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 31 Oct 2018 13:16:10 +0000 (14:16 +0100)
commita2b202821265a37cce2256a006e0994a3a514e34
tree59bccc73f52b43f5eb237a66c7f1b4cea10f967a
parentf7d465118630b8faeb6189bcfc1058869fadff47
config: remove complex jinja logic in ceph.conf.j2

using consecutive set_fact in the playbook instead of complex jinja syntax
makes ceph.conf.j2 more readable.
By the way, jinja can be painful to debug at some point.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-defaults/tasks/facts.yml
roles/ceph-defaults/tasks/set_monitor_address.yml [new file with mode: 0644]
roles/ceph-defaults/tasks/set_radosgw_address.yml [new file with mode: 0644]
roles/ceph-handler/templates/restart_rgw_daemon.sh.j2
roles/ceph-mon/templates/ceph-mon.service.j2