You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
266 B
Perl
16 lines
266 B
Perl
7 years ago
|
#!/usr/bin/perl
|
||
|
|
||
|
binmode STDOUT, ":utf8";
|
||
|
use utf8;
|
||
|
|
||
|
use JSON;
|
||
|
|
||
|
my $json_args = <<'END_MESSAGE';
|
||
|
<<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>>
|
||
|
END_MESSAGE
|
||
|
|
||
|
print encode_json({
|
||
|
message => "I am a perl script! Here is my input.",
|
||
|
input => [decode_json($json_args)]
|
||
|
});
|