kaizen
kaizen

Reputation: 1

extend the duration/execution time of ansible command

- name: 'TASK 1: Debug'
  aireos_command: 
     commands:
       - 'debug client <mac address>'
  register: debug

i have this command and how can i keep this command running for about 5 minutes instead of ending it as soon as the command has been configured. Wanted to keep this command running so we can capture necessary logs in 5 minute duration

Upvotes: 0

Views: 213

Answers (1)

U880D
U880D

Reputation: 12121

According the documentation of Cisco Wireless LAN Controller (WLC) Command Reference, there seems to be no sleep of wait there.

But according description of aireos_command you might be able to introduce additional parameters interval, match, and retries to achieve your goal.

Upvotes: 1

Related Questions