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/a171c6d6-c9ce-4243-a287-0bb8c7ae4be7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to