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
fora-2.0.0.tar.gz
(51.2 kB
view hashes)
Built Distribution
fora-2.0.0-py3-none-any.whl
(50.8 kB
view hashes)