Getting Started with Semaphore

_images/Semaphore.png

Semaphore provides a GUI that Instructors and Developers can use to interact with ansible playbooks. Some benefits of Semaphore include:

  • Build, deploy and rollback task

  • Group playbooks to projects

  • Manage environments, inventories & repositories

  • Run playbooks from the browser

  • Get notifications about playbook runs

Accessing the Dashboard

Runs on control port 4000.

Access via web browser of choice: x.x.x.x:4000

Relevant Task Templates

Underneath the Management project pane, the Task Template selection will include:

Create Class
Destroy Class

Underneath the Class project pane, the Task Template selection will include:

Create Range
Destroy Range
Revert VM
Reset VM
Rebuild VM
DCO scenario injects
Create Falling Star
Destroy Falling Star

Create Class

  • To create a class click the run button on the right side of the screen.

  • A popup will appear asking you to enter the class number and the number of students in the task template.

Important

The class number must start with a ‘U’ for UCWT or a ‘C’ for CWO. The number of students must not have a leading zero.

After successfully running Create Class template, refresh the browser. The new class will appear as a project in the top left.

Tip

If a task fails, the first step is to rerun the task. Occasionally with large builds instructions are not processed by vsphere properly and a 2nd attempt will correct this problem.

More Information: