Skip to main content

A simple infrastructure and configuration management tool

Project description

MIT License

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


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)

Uploaded Source

Built Distribution

fora-2.0.0-py3-none-any.whl (50.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page