++ed by:
 舌尖上的牛氓 

NAME

Rex::Template::Mojo - Use Mojo::Template with Rex

DESCRIPTION

This module enables the use of Mojo::Template for Rex Templates.

USAGE

Just include the file into your Rexfile.

 # Rexfile
 use Rex::Template::Mojo;
    
 task prepare => sub {
    
    file "/a/file/on/the/remote/machine.conf",
       content => template("path/to/your/template.tt", 
                              var1  => $var1,
                              arr1  => \@arr1,
                              hash1 => \%hash1,
                          );
                       
 };



Hosting generously
sponsored by Bytemark