Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aireos_command.py #58484

Closed
wants to merge 3 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/ansible/modules/network/aireos/aireos_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@
wait_for:
- result[0] contains Cisco Controller
- result[1] contains Loopback0

- name: Assign multiple APs to an AP-GROUP. (Assign AP to AP-GROUP will result a prompt from the WLC. Take note to escape the special characters, if not it will result in timeout.)
aireos_command:
commands:
- command: "config ap group-name wireless_test_group {{ item }}"
prompt: 'Are you sure you want to continue\\? \(y/n\\)'
answer: "y"
register: result1
with_items:
- AP1
- AP2
- AP3
"""

RETURN = """
Expand Down