retrace: use public hostname rather than ip addr

addressing:
curl https://172.30.5.239/settings
curl: (51) SSL: no alternative certificate subject name matches target host name '172.30.5.239'
This commit is contained in:
Miroslav Suchý 2020-03-25 17:39:38 +01:00 committed by Pierre-Yves Chibon
parent d119200fbf
commit 55ee39ccf3

View file

@ -6,7 +6,7 @@
- name: Set settings_url fact
set_fact:
settings_url: "https://{{ ansible_default_ipv4.address }}/settings"
settings_url: "https://{{ hostname }}/settings"
- name: fetch settings
uri: