When i use 'prompt' parameter of ios_command module for IOS image copying 
as in Example 1, it fails. But it succeeds as in Example 2. 
I want to understand why? I am trying to understand why this below syntax 
works?
Destination filename \[ image name\]?'

 This issue happens only for IOS copying and not for other prompt related 
commands.

Example 1 (fails):
ios_command:
commands:
- command: "copy 
ftp://username:[email protected]/isr4300-universalk9.16.03.07.SPA.bin 
flash:"
* prompt: '[isr4300-universalk9.16.03.07.SPA.bin]'*
answer: "\r"

Example 2 (suceeds):
ios_command:
commands:
- command: "copy 
ftp://username:[email protected]/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/af1dbd8a-fd0b-4b7e-ae1b-05009841fe6dn%40googlegroups.com.

Reply via email to