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>
(cherry picked from commit 55adc10be3
)
pull/4807/head
parent
a3bfed88c9
commit
f4e5f3ee9e
|
@ -17,7 +17,7 @@
|
|||
|
||||
- name: wait for grafana to be stopped
|
||||
wait_for:
|
||||
host: '{{ grafana_server_addr }}'
|
||||
host: '{{ grafana_server_addr if ip_version == "ipv4" else grafana_server_addr[1:-1] }}'
|
||||
port: '{{ grafana_port }}'
|
||||
state: stopped
|
||||
|
||||
|
@ -107,5 +107,5 @@
|
|||
|
||||
- name: wait for grafana to start
|
||||
wait_for:
|
||||
host: '{{ grafana_server_addr }}'
|
||||
host: '{{ grafana_server_addr if ip_version == "ipv4" else grafana_server_addr[1:-1] }}'
|
||||
port: '{{ grafana_port }}'
|
||||
|
|
Loading…
Reference in New Issue