-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
clue to allow idempotency with ansible #1449
Copy link
Copy link
Closed
Milestone
Description
Ansible need clue to allow idempotency.
These scripts are read-only, and hence idempotent by nature:
export-zip-for-user.phpexport-opml-for-user.phplist-users.phpuser-info.php
These scripts are not safe as there modify FresRSS's internal data:
-
do-install.phpshould be launched only ifdata/do-install.txtexists (otherwise, installation has already been launched) -
create-user.phpshould be launched only if the user does not exist (seelist-users.phpfor that) -
delete-user.phpshould be launched only if the user does exist (seelist-users.phpfor that) -
import-for-user.phpshould be launched only if the user has no feed (there is no way to check that) -
actualize-user.phpreturns 0 if there is new articles, 1 if there is no new articles -
reconfigure.phpis a mystery (as it is not documented on cli/README.md)
Reactions are currently unavailable