I am getting  below error

"msg": "Exception received : Administratively disabled.\n"



my playbook is 

    - name: Copying file from Ansible
      net_put:
        src: /home/testuser/ansible/from_ansible.text

    - name: copying IOS image to cisco switch
      net_put:
        src: /home/testuser/ansible/from_ansible.text
        protocol: tftp
        dest: flash:/from_ansible.text


On Friday, May 24, 2019 at 4:23:23 PM UTC+5:30, rajthecomputerguy wrote:
>
> Hi team,
>
> Can you please provide me the module to copy the IOS image file to cisco 
> switch?
>
> I used below but it prompts for password
>
> - name: COPY OVER IOS IMAGE
>
>   command: "scp system-image-filename.bin 
> {{inventory_hostname}}:/system-image-filename.bin"
>
> - name: SET BOOT SYSTEM FLASH
>   ios_config:
>     commands:
>       - "boot system flash:system-image-filename.bin"
>

-- 
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/c20c81b5-5978-4b2a-b22f-81d775fec3c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to