Closed hkcomori closed 3 months ago
Well, it's opensource and open to patches and PRs ;-)
I won't be able to do much work on this in the next weeks or so. If you come up with a PR or two, it's very much appreciated. The suggested enhancements would fit the scope of the role IMO.
Thanks for the response. I considered modifying it, but it seems to conflict with #65.
phew, #65 was a draft and abandoned. I'd have to look at it again. Currently I don't have much time for it, real life issues, work etc
I suggest you base your patches on the main
branch ... or try to improve #65 maybe. As I said: I can't tell if #65 still makes sense right now. But maybe it would be good to continue there.
@hkcomori still interested in contributing?
The idea was to add a toggle to "simply" install rclone
from the official repos of each distribution instead of taking it from the rclone-project-site.
Adding the three variables shouldn't be that hard, I think. We could base it on #65 and start from there.
Sorry, still interested but too busy to do much work on it.
Thanks, then I'll modify it, referring to the implementation of #65, but not worrying about conflicts though.
But my motivation is installation by non-root user, so I want to consider stopping become: true
first.
I found some issues for non-root users to use this role. This is going to be a bigger change than I expected.
1. Cannot create file directory for local fact
We need to find another method.
2. Cannot perform some operations related to mounts
In my opinion, these features can be skipped, because they are not needed for non-root users.
I want to install rclone in the home directory of non-root user for personal use on a shared machine. (eg.
~/.local/bin/rclone
) For this purpose, I'm happy if the binarylocation
,owner,
andgroup
could be specified by variables.The binary
location
will be able to specified by #65, but no other variables. It would be more consistent iflocation
,owner
, andgroup
for binary could be changed, because config already allows same parameters to be changed.I would also prefer that
become: true
be managed outside of the role, so that it can be executed by a non-root user.Are such use cases acceptable in this role?