Great thanks On Sat, May 25, 2019, 4:42 PM Richard Bywater <[email protected]> wrote:
> Based on a quick GOogle search that gives > https://community.cisco.com/t5/network-management/distribute-sw-images-through-scp-failed/td-p/706491 > , > this sounds more like a Cisco config issue than an Ansible one. > > Richard. > > On Sat, 25 May 2019 at 01:04, rajthecomputerguy < > [email protected]> wrote: > >> 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 >> <https://groups.google.com/d/msgid/ansible-project/c20c81b5-5978-4b2a-b22f-81d775fec3c8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAAy0hwcqce_hgWwZnAeJAB76JoKS%2B4pQMkptBnUcDEvVCBYW-w%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAAy0hwcqce_hgWwZnAeJAB76JoKS%2B4pQMkptBnUcDEvVCBYW-w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAE5Yv1S%2BPs9n5ur-sh7EC0moF%3DCfPaePBxE9a_oUBH5o20mb6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
