Hello,

has anyone used the latest ansible core module junos_package to updgrade 
the OS. I am trying to update the OS using this module, but my playbook 
throws an error (*unable to install package on device*). When I check the 
device, the image will be copied successfully, however it will not install 
OS.

I am running below playbook.


*---*
*- hosts: Juniper*
*  gather_facts: no*
*  connection: local*

*  tasks:*
*  - name: Updating Junos *
*    junos_package:*
*      host: "{{ ip_address }}"*
*      username: "{{ username }}"*
*      password: "{{ password }}"*
*      src: ~/package*
*      reboot: yes*
*      version: 14.1X53-D53.3*
*      timeout: 120*

*Thanks,*
*Ravicharan*

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2a9306be-c632-4dea-a636-569de99c2a4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to