ansible: Change hostname to inventory_hostname

Due to the change caused by updated terraform script, we need to change
usage of variable `hostname` to `inventory_hostname`.

Signed-off-by: markoburcul <marko@status.im>
This commit is contained in:
markoburcul 2024-09-17 08:12:55 +02:00
parent e266840902
commit 70f064030e
No known key found for this signature in database
GPG Key ID: FC4CD2F9A040D54A
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ geth_rpc_vhosts:
- 'localhost'
- '{{ geth_cont_name }}'
- '{{ geth_rpc_extra_vhost }}'
- '{{ hostname }}'
- '{{ hostname }}.wg'
- '{{ inventory_hostname }}'
- '{{ inventory_hostname }}.wg'
- '{{ ansible_local.wireguard.vpn_ip }}'
# Wrapper for easier RPC usage
geth_rpc_wrapper: '{{ geth_service_path }}/rpc.sh'