bldr-io/remote-block

Remote Execution Block for Bldr

2.0.5 2014-10-13 06:00 UTC

This package is auto-updated.

Last update: 2021-10-05 12:54:09 UTC


README

Remote Execution with bldr

To use

First, add the following to your bldr.json in the require section:

{
    // ...
    "require": {
        // ...
        "bldr-io/remote-block": "~1.0.0"
    }
}

Then, configure your hosts in your .bldr.yml(.dist) file:

remote:
    someHost:
        hostname: example.org
        port:     2222
        username: testUser
        password: testPass
    vagrantHost:
        hostname: 192.168.56.101
        username: vagrant
        rsa_key:  puphpet/files/dot/ssh/insecure_private_key
    rsaWithPass:
        hostname: example.org
        username: someUser
        password: somePass
        rsa_key: /home/someUser/.ssh/id_rsa

bldr:
    tasks:
        someTask:
            calls:
                -
                    type: exec
                    remote: vagrantHost
                    executable: ls
                    arguments: [-lha, /var/www]

Right now, you wont get output, unless you run bldr with -vvv. If people want this to change, I'd be happy to add it in.