Jobs

The job invocations page (also known as the jobs page) can be accessed via the monitor menu:

Monitor > Jobs

The job invocations page forms a part of orcharhino’s remote execution features.

The job invocations page lists all remote execution jobs that are run from orcharhino. Entries are sorted by time stamp, with the newest job at the top of the list. The job invocations page also allows you to run new jobs, but it is recommended to do so from the all hosts page instead.

Invoking a Job

Clicking the Run Job button lets you invoke the execution of a job. This presents you the following page:

Invoking a job
  • The Job category (1) lets you pick various categories of jobs, e.g. service jobs to start and stop etc. services on hosts, or plain commands to execute commands on hosts.

  • The Job template (2) offers templates on specific job items, e.g. install, remove, and update etc. a package within the Katello job category.

  • The Bookmark field (3) is optional to help you filter hosts. This automatically prefills the Search Query field.

  • The Search Query (4) lets you filter all hosts to a specific portion. You may use regular expressions as described on the filter page.

  • The Resolves to (5) buttons let you a) run the filter (left button) to see how many hosts are selected by it, and b) preview (right button) the hosts the commands will be run on.

  • The bottom field (6) (command in the screenshot above) depends on the selected job category, for example:

    • When selecting Ansible commands, the field will be called command.

    • When selecting Katello as job category, and install package as job template, the field is called package.

      It lets you specify parameters for the job to be run.

  • The Schedule (7) checkbox on the bottom lets you schedule your run, i.e. have it run now or at any time in the future. Alternatively, you may choose to have it run recurringly.

  • Pressing the Submit (8) button submits the job to orcharhino.

Refer to the Ansible guide for more detailed information on how to schedule the execution of Ansible roles.