Commit 271d90acd7967445baca098bfa634098fe3579ae
1 parent
2f08e98b
Test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
site/add.php
... | ... | @@ -43,7 +43,7 @@ session_start(); |
43 | 43 | $ini = $ini.$_POST['raspberry']." capteur=".$_POST['numero']." setup=".$setup."\n"; |
44 | 44 | file_put_contents('upload/inventaire.ini', $ini); |
45 | 45 | setup($_POST['raspberry']); |
46 | - $cmd = "ansible-playbook ../Ansible/taskPing.yml -i upload/inventaire.ini"; | |
46 | + $cmd = "ansible-playbook ../Ansible/MainTask.yml -i upload/inventaire.ini"; | |
47 | 47 | $retour = system($cmd, $retval); |
48 | 48 | $message = $message." Retour : ".$retval."---".$retour; |
49 | 49 | ?> | ... | ... |