-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ansible role to deploy FreshRSS automatically #1090
Description
I'm working on an ansible role to deploy FreshRSS automatically.
With the current version of my role, I can deploy FreshRSS automatically, but I still have to do some post-install manual operations using the web interface. I'd like to automatize these operations so that FreshRSS works out of the box.
The manual operations are - up to now - the following:
- set the token (which is used for the API and for the cronjob)
- set the cronjob (with the previously defined token)
- import the feed list in OPML
I can see that the token is defined unciphered in FreshRSS/data/users/<username>/config.php, under the token key. I find it not very secure, but it can at least be set by ansible. However, I think it would be better to set this token using a FreshRSS API so that ansible doesn't bypass FreshRSS.
How can I import an OPML file programmatically?
Generally speaking, is there a way to access the FreshRSS API so that I can set the token, import the feeds list?