Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-defaults: fix handlers that are always triggered
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>
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters