Here is what I've tried so far:

      - name: Running command
        become: yes
        become_method: enable
            username: "{{ username_switch }}"
            password: "{{ password_switch }}"
            - 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 view this discussion on the web visit

Reply via email to