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.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/f2bd1885-9963-4f51-88e6-c2c1a4dca017%40googlegroups.com.

Reply via email to