Task

exception narrenschiff.task.AmbiguousOptions[source]

Use when tasks have undefined YAML tags.

class narrenschiff.task.Task(task)[source]

Parse the smallest unit of the course.

Each dictionary item from the task list should be wrapped with this class:

course = [{'name': 'Kustomize', 'kustomization': 'examples/app/'}]
tasks = [Task(t) for t in course]

task = tasks[0]
task.name  # --> 'Kustomize'
taks.kustomization  # --> instance of Kustomization class
class narrenschiff.task.TasksEngine(tasks, beacons, dry_run_enabled)[source]

Run course.

run()[source]

Start executing tasks.

Returns

Void

Return type

None