diff --git a/ping_aruba.yml b/ping_aruba.yml index a04b0da..d5262a7 100644 --- a/ping_aruba.yml +++ b/ping_aruba.yml @@ -1,8 +1,14 @@ --- -- name: Test de connectivité avec ping Ansible - hosts: switch_aruba # groupe défini dans ton inventaire +- name: Test de connectivité Aruba CX + hosts: switch_aruba gather_facts: no + connection: network_cli # très important + vars: + ansible_network_os: arubanetworks.aoscx.aoscx tasks: - - name: Ping des hôtes - ansible.builtin.ping: \ No newline at end of file + - name: Vérifier la connexion en faisant un "show version" + # si tu veux juste vérifier que ça répond + aoscx_command: + commands: + - show version \ No newline at end of file