thank you, it works.
On Tue, Jul 30, 2019 at 11:10 AM Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 30.07.2019 20:04, ansi ari wrote:
> > I tried with single list and that works fine. But my reponses are like
> > this:
> > Enter command: "U"
> > Enter choice :
On 30.07.2019 20:04, ansi ari wrote:
> I tried with single list and that works fine. But my reponses are like
> this:
> Enter command: "U"
> Enter choice : "S"
> Enter command: "M"
> Enter choice: "U"
> Enter choice: "S"
> Enter choice: "b"
>
I tried with single list and that works fine. But my reponses are like
this:
Enter command: "U"
Enter choice : "S"
Enter command: "M"
Enter choice: "U"
Enter choice: "S"
Enter choice: "b"
Enter Command: "q"
if i give like this expect module will ru
On 30.07.2019 18:24, ansi ari wrote:
> Thank you, but i have something like this: if i use the list Enter one is
> going to look for M right after U and thats not going to work.
>
> responses:
>> * Enter one*: "U"
> Enter next: "S"
>>*Enter one*: "M"
>>Enter next: "U"
> Enter
Thank you, but i have something like this: if i use the list Enter one is
going to look for M right after U and thats not going to work.
responses:
> * Enter one*: "U"
Enter next: "S"
> *Enter one*: "M"
> Enter next: "U"
Enter next: "S"
On Monday, July 29, 2019 at 11:53:46 PM U
On 30.07.2019 01:28, ansi ari wrote:
I am able to do with different responses with expect module, but i have
same responses multiple times with different prompt.
eg:
responses:
Enter one: "A"
Enter next: "B"
Enter next: "c"
can anyone have a better idea?
You use a list
responses:
E
I am able to do with different responses with expect module, but i have
same responses multiple times with different prompt.
eg:
responses:
Enter one: "A"
Enter next: "B"
Enter next: "c"
can anyone have a better idea?
--
You received this message because you are subscribed to the Google