# How to upgrade an Aruba 8320 using Ansible

**URL:** <https://forum.ansible.com/t/how-to-upgrade-an-aruba-8320-using-ansible/32530>\
**Category:** Ansible Developer\
**Created:** [March 25, 2020, 10:22am UTC](https://forum.ansible.com/t/how-to-upgrade-an-aruba-8320-using-ansible/32530 "2020-03-25T10:22:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamza\_Dev](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@Hamza\_Dev](https://forum.ansible.com/u/Hamza_Dev)\
**Post date:** [March 25, 2020, 10:22am UTC](https://forum.ansible.com/t/how-to-upgrade-an-aruba-8320-using-ansible/32530/1 "2020-03-25T10:22:13Z")

</div>

Here is what I’ve tried so far:

```auto
<b>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 }}"</b>

```

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

```auto
**"System is not ready. Please retry after few seconds.."**

```

```auto
What could be the cause of this odd behavior ? (the command is executed with success if done manually on the device)

```

```auto
Thank you in advance.

```
