@ -227,7 +227,7 @@ our $task = undef;
{
my ($filename, $path, $suffix) = fileparse($task_file);
if ($path =~ 'ansible' && $filename == 'args') {
if ($path =~ 'ansible' && $filename eq 'args') {
# Calling from Ansible with args in the JSON-file
open(my $fh, "<", $task_file);
$task = decode_json(<$fh>);