You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my perspective I access the system with the user "ansible" and use sudo to "spower". It's not intended to store anything in the home directory of the ansible user.
That do you think about this issue?
Regards,
Carsten
The text was updated successfully, but these errors were encountered:
Hi Jens,
currently I try to automate the installation of inverter-connect with Ansible. This causes this error:
My installation steps are:
~spower/inverter-connect/
~spower/.config/inverter-connect/inverter-connect.toml
cli.py print-values
to create virtual environment and to test the connectivity to the inverterThe Ansible artifact is:
The error is caused by the special handling of
~
in combination with environment variableSUDO_USER
as coded here:https://github.com/jedie/ha-services/blob/4ad2a1b56d7b521e80dbe4ec3ecebac0440ac2df/ha_services/cli_tools/path_utils.py#L35-L54
From my perspective I access the system with the user "ansible" and use sudo to "spower". It's not intended to store anything in the home directory of the ansible user.
That do you think about this issue?
Regards,
Carsten
The text was updated successfully, but these errors were encountered: