]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Provide the ability to provide monitor_address instead of an interface
authorAndrew Schoen <aschoen@redhat.com>
Tue, 22 Mar 2016 14:11:12 +0000 (09:11 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 23 Mar 2016 12:30:01 +0000 (07:30 -0500)
commit959d525f81753e6274a20f3ed9c7caea1a3c73be
tree36aa525e26c8834c5b5ab0957d3a58a893e223c9
parente78826eefbfd01acf43874303f4c9d3c193498dc
Provide the ability to provide monitor_address instead of an interface

This would allow users who don't know what interface to provide to
give an IP address to use for the monitor instead.

Note: the includes are needed in ceph.conf.j2 because without them
jinja2 can not properly evaluate the template and will complain about a
missing 'ansible_interface' variable. The includes allow the template to
be evaluated correctly and then the correct include will be used during
render time.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
group_vars/all.sample
roles/ceph-common/defaults/main.yml
roles/ceph-common/tasks/checks/check_mandatory_vars.yml
roles/ceph-common/templates/ceph.conf.j2
roles/ceph-common/templates/client_restapi_address.j2 [new file with mode: 0644]
roles/ceph-common/templates/client_restapi_interface.j2 [new file with mode: 0644]
roles/ceph-common/templates/mon_addr_address.j2 [new file with mode: 0644]
roles/ceph-common/templates/mon_addr_interface.j2 [new file with mode: 0644]