mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1202 from tynorth-cisco/monitor
use monitor name, not host ansible host in ceph.confpull/1203/head
commit
14bb94fee7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue