semaphore/ping_aruba.yml

16 lines
371 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: Test de connectivité Aruba CX
hosts: switch_aruba
gather_facts: no
connection: network_cli
collections:
- arubanetworks.aoscx # < important
vars:
ansible_network_os: arubanetworks.aoscx.aoscx
tasks:
- name: Vérifier la connexion en faisant un "show version"
aoscx_command:
commands:
- show version