zebrunner / mcloud-agent

18 stars 11 forks source link

reuse STF_PROVIDER_HOST and provide an option to declare usbmuxd port only #329

Open vdelendik opened 2 months ago

vdelendik commented 2 months ago

https://github.com/zebrunner/mcloud-agent/blob/b8d0dbef6693b326016296b56b1e05e35c162bd1/roles/mac-devices/vars/main.yml.original#L27

we have two places for the same host address: STF_PROVIDER_HOST and USBMUXD_SOCKET_ADDRESS Let's reorganize a little bit renaming 2nd one into the USBMUXD_SOCKET_PORT

and in zebrunner-farm combine STF_PROVIDER_HOST:USBMUXD_SOCKET_PORT into the USBMUXD_SOCKET_ADDRESS env var for connector.

As a benefit - single place for defining provider host ip/name