I need clarification when using 'prompt' parameter of ios_command module 
with regards to below command.


Below is the sample script to copy ios image. Please look at line with 
'prompt' command - i need to give the command with 2 forward slash at start 
and end (\iosfilename.bin). Only then it works else it doesn't. This slash 
is required only for this image copy command and not required for any other 
command used with 'prompt' parameter. Iam trying to understand the 
significance of these 2 slashes?

ios_command:

          commands:

            - command: "copy 
ftp://zebra:username@10.6.1.104/isr4300-universalk9.16.03.07.SPA.bin flash:"

              prompt: 'Destination filename 
\[isr4300-universalk9.16.03.07.SPA.bin\]?'

              answer: "\r"

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9537a36b-2098-4257-b848-ce7a2794635fn%40googlegroups.com.

Reply via email to