Merge "Add a separate interface address for tgtd"
This commit is contained in:
commit
9951c44090
@ -19,6 +19,7 @@ iscsi_services:
|
||||
volumes: "{{ tgtd_default_volumes + tgtd_extra_volumes }}"
|
||||
dimensions: "{{ tgtd_dimensions }}"
|
||||
|
||||
tgtd_interface_address: "{{ api_interface_address }}"
|
||||
|
||||
####################
|
||||
# Docker
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
- name: Checking free port for iscsi
|
||||
wait_for:
|
||||
host: "{{ api_interface_address }}"
|
||||
host: "{{ tgtd_interface_address }}"
|
||||
port: "{{ iscsi_port }}"
|
||||
connect_timeout: 1
|
||||
timeout: 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"command": "tgtd -d 1 -f --iscsi portal={{ api_interface_address | put_address_in_context('url') }}:{{ iscsi_port }}",
|
||||
"command": "tgtd -d 1 -f --iscsi portal={{ tgtd_interface_address | put_address_in_context('url') }}:{{ iscsi_port }}",
|
||||
"config_files": []
|
||||
}
|
||||
|
4
releasenotes/notes/tgtd_iface-2ff09b2b12870372.yaml
Normal file
4
releasenotes/notes/tgtd_iface-2ff09b2b12870372.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Added ability to define address for a separate tgtd network interface.
|
Loading…
Reference in New Issue
Block a user