create_schedule
Create a schedule to run Ansible automation tasks on a recurring basis or at a specific time.
Instructions
Create a new schedule.
Args: project_id: ID of the project template_id: ID of the template to run name: Schedule name cron_format: Cron expression for recurring schedules active: Whether the schedule is enabled schedule_type: Schedule type: "" for cron, or "run_at" for one-time runs run_at: RFC3339 timestamp for one-time schedules task_params: Optional task parameters to pass when the schedule runs delete_after_run: Delete the one-time schedule after it runs repository_id: Optional repository ID for commit-check schedules
Returns: Created schedule details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| template_id | Yes | ||
| name | Yes | ||
| cron_format | No | ||
| active | No | ||
| schedule_type | No | ||
| run_at | No | ||
| task_params | No | ||
| delete_after_run | No | ||
| repository_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||