Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Integration helpers for Fabric and Rundeck.

Project description

Provides helpers for integration between Fabric and Rundeck, via rundeck-fabric.

Cron

You can add scheduled execution to a fabric task using the cron helper:

from fabric.api import task
from fabric_rundeck import cron

@cron('0 12 * * *')
@task
def mytask():
    pass

There are also helpers for hourly, daily, and monthly:

from fabric.api import task
from fabric_rundeck import daily

@daily
@task
def mytask():
    pass

Fabfile Information

Run this module (python -m fabric_rundeck) to print information about the local fabfile to stdout in JSON format:

$ python -m fabric_rundeck
[
  {
    "cron": null,
    "path": [],
    "argspec": {
      "keywords": null,
      "args": [],
      "defaults": null,
      "varargs": null
    },
    "name": "mytask",
    "doc": null
  }
]

You can also pass a path to a fabfile explicitly:

$ python -m fabric_rundeck path/to/fabfile.py
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fabric_rundeck, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size fabric_rundeck-1.2-py27-none-any.whl (6.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size fabric_rundeck-1.2.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page