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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fabric_rundeck-1.2.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file fabric_rundeck-1.2.tar.gz
.
File metadata
- Download URL: fabric_rundeck-1.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494e37ac73bbaf4c2eb0b417baeb013247412b9fc6a4221c71b5ad540bfeafc4 |
|
MD5 | 6518d6520ba8a5232fc487bcf2202ac1 |
|
BLAKE2b-256 | 856df8a7dc360bcd3345766d40bb4c670bb548ffb743ca99464d79b27ae56786 |
Provenance
File details
Details for the file fabric_rundeck-1.2-py27-none-any.whl
.
File metadata
- Download URL: fabric_rundeck-1.2-py27-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2.7
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5f8af6103c2e6162ce073f50b687313cb948aa56adc41e7a52335b68eb0f31 |
|
MD5 | bdfde6395759550a0365811f74ea1f06 |
|
BLAKE2b-256 | 7cd7f4e6d7abb5c59120bae34a2eaf466f29b0711dc33045651740c51b592e10 |