http://qs321.pair.com?node_id=11115205


in reply to Where is documenation for defining servers for use by Rex?

Perhaps its because I have experience with Ansible, but it looks pretty straight forward to me. https://www.rexify.org/docs/guides/start_using__r__ex.html has a script, it describes exactly how that script works, and shows how to run it.

Perhaps show us what you tried that didn't work?

  • Comment on Re: Where is documenation for defining servers for use by Rex?

Replies are listed 'Best First'.
Re^2: Where is documenation for defining servers for use by Rex?
by nysus (Parson) on Apr 08, 2020 at 01:26 UTC

    There is supposedly a way to set properties for individual servers. There is only a small sample of this here.

    The server options I'm trying to specify don't seem to work so I'm looking for thorough documentation on what those server options are. That's why I'm looking for documentation. Example:

    group "servers", "server_big" => { user => 'my_user', private_key => ' +/home/user/key.pem' }; task 'uptime', 'server_big', sub { say run 'uptime'; };

    The private_key setting is getting ignored and I can't log in.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks