Skip to main content

Fabsible

Fabsible is ansible framework which is object-oriented.

Getting started

Installation ############

Create python virtual env

python3 -m venv venv
. venv/bin/activate

Install fabsible

pip install fabsible

Configuration

TODO: creating inventory file

Init new project

fabsible-init -i libvirt-inventory.py

Create provisioning tasks and place them in files/providers/<name>.yml. Ex.

cat files/providers/libvirt.yml
- name: libvirt
  debug:
    msg: "Jeste provisione libvirte"

- include_role:
    name: exphost.create_user
  vars:
    ansible_user: root
    ansible_password: super_password
  loop: "{{ users }}"
  loop_control:
    loop_var: user

Create users

cat group_vars/all/users_admins.yml
users_admins:
  - user: torgiren
    group: wheel
    password: "XXX" #Password hash
    home: "/home/torgiren"

and add ssh-keys to files/ssh-keys/<username>/<keyname>.pub

add become password (TODO: this should be per user not per project)

cat become.yml
ansible_become_pass: anotherpassword

Run

fabsible-play

Release files for fabsible 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fabsible 0.2.1
File Size Uploaded
fabsible-0.2.1.tar.gz 8.2 kB Details

Release files / fabsible-0.2.1.tar.gz

Download URL fabsible-0.2.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
30cec870ff0e7c79d43b84f8e3f5bc703cd0edd526d209add478873afe35071d
BLAKE2b-256 checksum
How to use checksums
3f76c120b08e199359731780eaa1c33400c5ca6d28d5b42c6d30d9d839e8f0af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page