]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Using config_template 461/head
authorSébastien Han <seb@redhat.com>
Wed, 16 Dec 2015 15:11:14 +0000 (16:11 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 16 Dec 2015 16:19:50 +0000 (17:19 +0100)
commit4407967de0ede77ee18758c001b1b94b12977f25
tree5371811fa5303d728b2ed419cd122cffa295c278
parent38c5e6c259ab258d03a799ff1738bd8901f9d3a3
Using config_template

Thanks to @cloudnull great patch at
https://github.com/ansible/ansible/pull/12555
we now have the ability to add more configuration options instead of
having to push a PR to add a new option to the template. So you can
dynamically add and remove flags.

To use it, edit `ceph_conf_overrides` in `group_vars/all` like so:

```
ceph_conf_overrides
 global:
     foo: 12345
     bar: 6789
```

Signed-off-by: Sébastien Han <seb@redhat.com>
.gitignore
ansible.cfg
group_vars/all.sample
library/config_template [new file with mode: 0644]
plugins/actions/config_template.py [new file with mode: 0644]
roles/ceph-common/defaults/main.yml
roles/ceph-common/tasks/main.yml
roles/ceph-common/templates/ceph.conf.j2