From 271d90acd7967445baca098bfa634098fe3579ae Mon Sep 17 00:00:00 2001 From: grouille Date: Wed, 25 Mar 2020 15:32:32 +0100 Subject: [PATCH] Test --- site/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/add.php b/site/add.php index e2ea533..7885387 100644 --- a/site/add.php +++ b/site/add.php @@ -43,7 +43,7 @@ session_start(); $ini = $ini.$_POST['raspberry']." capteur=".$_POST['numero']." setup=".$setup."\n"; file_put_contents('upload/inventaire.ini', $ini); setup($_POST['raspberry']); - $cmd = "ansible-playbook ../Ansible/taskPing.yml -i upload/inventaire.ini"; + $cmd = "ansible-playbook ../Ansible/MainTask.yml -i upload/inventaire.ini"; $retour = system($cmd, $retval); $message = $message." Retour : ".$retval."---".$retour; ?> -- libgit2 0.21.2