rusible 0.0.0

[WIP] Writing infrastructure automation tasks in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use rusible::inventory::{Host, Inventory};

#[tokio::test]
async fn hello() {
    let mut inventory = Inventory::new([
        Host {
            name: "wsw-ops-testkk-v-001".to_string(),
            host: "10.4.139.190".to_string(),
            port: 63305,
            user: "root".to_string(),
            password: Some("z4DKCwN6w9re4DDx".to_string()),
        }
    ]).await.unwrap();

    inventory.test().await.unwrap();
}