Skip to main content

Runtime Data

The agent exposes metadata information in which could be retrieved in the runtime of the task as environment variables:

  • RUNOPS_TASK_ID - the ID of the task
  • RUNOPS_TASK_DESCRIPTION - the description of the task
  • RUNOPS_TASK_TARGET - the target in which this task is associated
  • RUNOPS_TASK_USER_EMAIL - the e-mail address of the user who's running the task

The environment variables are only available in script types (bash, python, elixir, etc) Available in the Runops Agent version beginning 0.13.10+