Last Updated: February 25, 2016
·
939
· krimdomu

Automate your tasks

As a sysadmin i learned fast to automate my daily tasks to have time for the real fun.

So i wrote a small (yet a bit bigger) orchestration tool to manage servers http://rexify.org/

A small example installing ntp and apache and printing the systems hostname.

set user => 'user';

task "prepare", "web[01..10]", sub {
    install "ntp";
    install "apache2";

    say run "hostname";
};