mirror of https://github.com/ceph/ceph-ansible.git
ceph-grafana: remove ipv6 brakets on wait_for
The wait_for ansible module doesn't support the backets on IPv6 address so need to remove them. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1769710 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/4778/head
parent
5353ab8a23
commit
55adc10be3
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
- name: wait for grafana to be stopped
|
- name: wait for grafana to be stopped
|
||||||
wait_for:
|
wait_for:
|
||||||
host: '{{ grafana_server_addr }}'
|
host: '{{ grafana_server_addr if ip_version == "ipv4" else grafana_server_addr[1:-1] }}'
|
||||||
port: '{{ grafana_port }}'
|
port: '{{ grafana_port }}'
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
|
@ -107,5 +107,5 @@
|
||||||
|
|
||||||
- name: wait for grafana to start
|
- name: wait for grafana to start
|
||||||
wait_for:
|
wait_for:
|
||||||
host: '{{ grafana_server_addr }}'
|
host: '{{ grafana_server_addr if ip_version == "ipv4" else grafana_server_addr[1:-1] }}'
|
||||||
port: '{{ grafana_port }}'
|
port: '{{ grafana_port }}'
|
||||||
|
|
Loading…
Reference in New Issue