Merge pull request #1202 from tynorth-cisco/monitor

use monitor name, not host ansible host in ceph.conf
pull/1203/head
Sébastien Han 2016-12-19 23:22:54 +01:00 committed by GitHub
commit 14bb94fee7
1 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@
- name: add mon section into ceph.conf for systemv init scripts
ini_file:
dest: /etc/ceph/{{ cluster }}.conf
section: mon.{{ ansible_host }}
section: mon.{{ monitor_name }}
option: host
value: "{{ ansible_host }}"
value: "{{ monitor_name }}"
state: present
when:
- ansible_os_family != "Ubuntu"