A simple infrastructure and configuration management tool
Project description
ATTENTION: This project is currently in beta development. The API may still change at anytime.
About
Fora is a infrastructure and configuration management tool inspired by ansible.
- Requires python3.9 on all managed systems.
- Functions similar to ansible, but lets you write your deploys in pure python
Installation
Fora requires python>=3.9.
Quick example
Here is a simple deploy.py which creates a temporary directory and uploads a templated file.
from fora.operations import files
files.directory(name="Create a temporary directory",
path="/tmp/hello")
files.template_content(name="Save templated content to the directory",
content="{{fora_managed}}\nHello from host {{host.name}}\n",
dest="/tmp/hello/world")
This script can then be executed on any ssh host.
fora ssh://root@localhost deploy.py
Of course you can separately define inventories, groups and hosts for larger deploys.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fora-2.0.0.tar.gz.
File metadata
- Download URL: fora-2.0.0.tar.gz
- Upload date:
- Size: 51.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc7f001b939824908326f26d106998005c67feb86c79b566d9cdbc2341d81527
|
|
| MD5 |
ffdaf311776e711d26eb833259f97220
|
|
| BLAKE2b-256 |
b17a38c9ba19efbf9efdc5a8f0cc371969db683b130166ce5d3294805d0622c1
|
File details
Details for the file fora-2.0.0-py3-none-any.whl.
File metadata
- Download URL: fora-2.0.0-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22711fef12429936b7fc93e1bd475b53807b9b9c19b1421a1c9a3fb5b30731ab
|
|
| MD5 |
97a98921d7925390e86a9b3562c7c060
|
|
| BLAKE2b-256 |
a1997c258c82a182dc6d057c52ef64b8a37188be12e767614cc9ba07d8723b18
|