Manisble - Manageable Ansible
Install and update Manisble
pip install --upgrade manisble
Basic configuration
mansible setup
creates a basic manisble configuration
/etc/manisble/manisble.yaml and /etc/manisble/secrets.yaml
---
organization:
- name: manisble
meta:
description: Manageable Ansible
max_hosts: 100
default_environment: Ansible Engine 2.9 execution environment
secrets: files
projects:
- name: main
description: Manageable Ansible
scm_type: git
scm_url: git@github.com:JakobHolstDK/openknowit_ansibleautomation_main.git
scm_branch: main
credential: github
master: 'True'
inventories:
- name: 000_masterinventory
description: Inventorycontaining all servers under automation control
variables:
serviceaccount:
name: knowit
gecos: Ansible automation manager
type: static
- name: 001_netboxinventory
description: Inventory containing all servers in netbox
variables:
serviceaccount:
name: knowit
gecos: Ansible automation manager
type: netbox
hosts:
- name: prodmanisble001.openknowit.com
description: Server cabable for running selfmaintainance
inventories:
- 000_masterinventory
templates:
- name: 000_ansibleautomationmanager_checkup
description: Master job for self healing ansible automation as code
job_type: run
inventory: 000_masterinventory
project: main
EE: Automation Hub Default execution environment
credentials: manisbleserver
playbook: checkup.yml
- name: 000_ansibleautomationmanager_update
description: Maintain ansible manager and prereqs
job_type: run
inventory: 000_masterinventory
project: main
EE: Automation Hub Default execution environment
credentials: manisbleserver
playbook: ansiblemanager.yml
schedules:
- name: 000_jobschedule_ansibleautomationmanager_checkup
type: job
template: 000_ansibleautomationmanager_checkup
description: Master job for ensuring connectivity
local_time_zone: CET
run_every_minute: '5'
start: now
end: never
- name: 000_jobschedule_ansibleautomationmanager_update
type: job
template: 000_ansibleautomationmanager_update
description: Master job updating automation manager
local_time_zone: CET
run_every_minute: '5'
start: now
end: never
- name: 000_projectschedule_ansibleautomationmanager
type: project
project: main
description: Master job for syncing project main
local_time_zone: CET
run_every_minute: '10'
start: now
end: never
users:
user_vault_path: project/openknowit/users
description: AD integration is mandatory
labels:
- name: static
- name: production
- name: test
and the secret.yaml
---
manisble:
vault:
- name: myvault
description: Credentials to access a hashicorp vault
vault_id: https://vault.example.com
vault_token: "/etc/manisble/vault.token"
ssh:
- name: manisbleserver
username: manisble
password: "/etc/manisble/manisbleserver.password"
description: Credentials to login to manisble server and setup manisble service
ssh_private_key: "/opt/manisble/manisbleserver_rsa"
privilege_escalation_method: sudo
privilege_escalation_username: root
privilege_escalation_password: "/etc/manisble/manisbleserver.password"
- name: productionserver
username: root
password: "/etc/manisble/productionserver.password"
description: Credentials to login to productionservers
ssh_private_key: "/opt/manisble/prodservers_rsa"
privilege_escalation_method: sudo
privilege_escalation_username: root
privilege_escalation_password: xxx
scm:
- name: github
username: Githubuser
password: ''
description: Credential to connect to git
type: Source Control
ssh_private_key: "/opt/manisble/github"
kind: scm
This is the README file for Mansible you need this to access your ansible server
export TOWER_PASSWORD="" export TOWER_HOST="https://" export TOWER_USERNAME=""
---
manisble:
vault:
vault_addr: https://demo.vault.com
vault_token: xcvcvbdsfgsdsdfsdfsdf
ssh:
name: manisbleserver
username: manisble
password: xxx
descriptions: Credentials to login to manisble server and setup manisble service
ssh_private_key: "/opt/manisble/id_rsa"
privilege_escalation_method: xxx
scm: {}
Thanks
Thanks to Jakob Holst for creating the original project, Kalm
Metadata
Release files for manisble 0.1.12
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 |
|---|---|---|---|---|
| manisble-0.1.12.tar.gz | 76.8 kB | Without provenance | Details for manisble-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| manisble-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for manisble-0.1.12-py3-none-any.whl |
Total release size: 180.0 kB
Release files / manisble-0.1.12.tar.gz
| Download URL | manisble-0.1.12.tar.gz |
|---|---|
| Size | 76.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
512718a1271079a8306c87782719267d8e7e4b40d1e5b6c82a8de59c36ce08df
|
|
BLAKE2b-256 checksum How to use checksums |
200e7f15fb920751c62ee8d7bdbfbb7c37ac5291867f68391afb933241c63128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / manisble-0.1.12-py3-none-any.whl
| Download URL | manisble-0.1.12-py3-none-any.whl |
|---|---|
| Size | 103.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1587915b7579142a4288bc9128e0997c64029fc5b10868c3ab087c71b8a9ca7
|
|
BLAKE2b-256 checksum How to use checksums |
7dd80e3caa099405e571033f9b0c38318670d8cd2b3fa6ee7a347822faed2370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for manisble 0.1.12
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.