How to upgrade an Aruba 8320 using Ansible

8 views
Skip to first unread message

Hamza Dev

unread,
Mar 25, 2020, 6:22:13 AM3/25/20
to Ansible Development

Here is what I've tried so far:

tasks:
      - name: Running command
        become: yes
        become_method: enable
        aruba_command:
          provider:
            username: "{{ username_switch }}"
            password: "{{ password_switch }}"
          commands:
            - vsx update-software tftp://image_url....
            - auto-confirm
        register: upgrade

      - debug: msg="{{ upgrade.stdout_lines }}"

The Playbook is successfully executed, however the vsx command fails and returning this output:

"System is not ready. Please retry after few seconds.."
What could be the cause of this odd behavior ? (the command is executed with success if done manually on the device)
Thank you in advance.
Reply all
Reply to author
Forward
0 new messages