mirror of https://github.com/ceph/ceph-ansible.git
ec042219e6
Handlers are always triggered in ceph-ansible because ceph.conf file is generated with a randomly order for the different keys/values pairs in sections. In python, a dict is not sorted. It means in our case each time we try to generate the ceph.conf file it will be rendered with a random order since the mecanism behind consist of rendering a file from a python dict with keys/values. Therefore, as a quick workaround, forcing this dict to be sorted before rendering the configuration file will ensure that it will be rendered always the same way. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> |
||
---|---|---|
.. | ||
_v1_config_template.py | ||
_v2_config_template.py | ||
config_template.py |