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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fabsible-0.2.1.tar.gz | 8.2 kB | Without provenance | Details for fabsible-0.2.1.tar.gz |
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
|
Security for fabsible 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.