Skip to content
Snippets Groups Projects
Commit 9cf86448 authored by hahn's avatar hahn
Browse files

task #4637 - fix_handling of extravars

parent 2d053477
No related branches found
No related tags found
1 merge request!12AWX - handling leerer AWX felder
...@@ -153,7 +153,7 @@ class rollout_awx extends rollout_base { ...@@ -153,7 +153,7 @@ class rollout_awx extends rollout_base {
if (!$aTmp || !count($aTmp) ){ if (!$aTmp || !count($aTmp) ){
$aReturn[]='echo "ERROR: Value in extravars has wrong Syntax - this is no JSON: '.$aConfig['extravars'].'"'; $aReturn[]='echo "ERROR: Value in extravars has wrong Syntax - this is no JSON: '.$aConfig['extravars'].'"';
} }
$aConfig['extravars']=json_decode($aTmp, 1); $aConfig['extravars']=json_encode($aTmp);
} }
if(!(int)$aConfig['inventory']){ if(!(int)$aConfig['inventory']){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment