confab.autotasks

Auto-generate Fabric tasks for roles and environments.

The autogenerate_tasks() function creates fabric tasks to set the current role or :term`environment` and is intended to be used along side the other standard Confab tasks (e.g. pull()) to customize configuration data.

These tasks are somewhat experimental.

confab.autotasks.autogenerate_tasks()[source]

Autogenerate role_ and env_ tasks for all defined roles and environments in the Fabric environment.

Normally the roledefs and environment defs will be configured using confab.model.load_model_from_dir() or similar.