threefoldtecharchive / 0-robot

Distributed live cycle management system
Apache License 2.0
0 stars 0 forks source link

Support action arguments in recurring action #18

Open rkhamis opened 6 years ago

rkhamis commented 6 years ago

Issue migrated from [https://api.github.com/repos/zero-os/0-robot/issues/215](), opened by @chrisvdg

Currently recurring actions doesn't seem to support arguments for the action it's calling

rkhamis commented 6 years ago

commented by @zaibon interesting feature, can you elaborate on a use case. Also, how would you bring the argument ? A recurring action is by definition something that is not trigger by anyone, so how could you pass argument to it ? And if the argument are constant for all execution of the action, then you don't need argument in the first place

rkhamis commented 6 years ago

*commented by @chrisvdg For the storybot tool templates I want to try running the link_stories method of the tool as a recurring action. It takes a check_broken_urls (bool) argument to check for broken links.

For now I can work around it (set a default for the action) and it's not a critical parameter, but it would be nice to be able to set it.*