Feature #798
closedMake possible to schedule/execute tasks via Foreman's GUI
Description
It would be nice not to have to login to Foreman's machine to execute custom tasks.
The interface could allow us to schedule and/or execute tasks as "foreman" system user such as:
- reports:expire
- puppet:import:hosts_and_facts
- reports:summarize days...
- a custom task (non-rake) (For example: to refresh your modules from a git repository)
- etc...
I thought about implementing this with something like: puppet module (exec/refreshonly) + foreman parameters + puppetrun, but it feels like an ugly workaround and I can't easily trigger the tasks individually.
Updated by Marcello de Sousa over 13 years ago
Trying to be a little more specific: my suggestion is to have a page in the UI dedicated to tasks.
Foreman could be distributed with a default sample of it's tasks (import classes, hosts, expire reports, etc) and we should be able to:
- add new custom ones
- modify the existing ones
- schedule them
- trigger them
Updated by Ohad Levy about 10 years ago
- Related to Feature #7514: add foreman tasks into core added
Updated by Ohad Levy about 10 years ago
- Related to deleted (Feature #7514: add foreman tasks into core)
Updated by Ohad Levy over 9 years ago
- Description updated (diff)
- Status changed from New to Resolved
This is now possible via the Foreman Remote Execution Plugin.