Commit b81c3e23a7ecf57f6140370f2b37280c57da700d
1 parent
1405d479
Test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
site/reception.php
... | ... | @@ -53,6 +53,7 @@ if(isset($_POST['sensor'])) |
53 | 53 | $message = "Upload du fichier réussi !"; |
54 | 54 | $color = "alert-success"; |
55 | 55 | $cmd = "ansible-playbook ../Ansible/taskPing.yml -i upload/inventaire.ini"; |
56 | + $cmd = "ping 172.26.145.113"; | |
56 | 57 | $retour = system($cmd, $retval); |
57 | 58 | //$ansible = exec($cmd, $result); |
58 | 59 | $message = $message." Retour : ".$retval."---".$retour; | ... | ... |