Fails without sudo
Closed this issue · 1 comments
deadbok commented
Currently sudo is needed to become librenms user. With su it neds a password. This issue arises from no longer running git as root. After some research the workarounds that we have discussed seems worse than running git as root and changing the permission afterwards.
Trying to push the current users key to the remote system to allow ansible to ssh as the librenms
user
needs the /opt/librenms/.ssh
path. Running git clone afterwards, when the home/librenms
directory exists will make it complain about this and return an error.
Trying to clone the repository to /tmp/librenms
then moving it to /opt/librenms
will break the idempotence.
deadbok commented
I will try using the release archive instead of cloning from github.