# Marshalling Cisco AireOS/WLC devices with ansible

**URL:** <https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845>\
**Category:** Ansible Project\
**Created:** [February 28, 2017, 5:06pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845 "2017-02-28T17:06:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cognifloyd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/cognifloyd/32/1885_2.png) [@cognifloyd](https://forum.ansible.com/u/cognifloyd)\
**Post date:** [February 28, 2017, 5:06pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845/1 "2017-02-28T17:06:44Z")

</div>

Hey all,

I just filed #22098: “Feature Idea: Add module for Cisco AireOS devices (WLCs)”.

We have a Cisco WLC where we need to dynamically create/destroy or enable/disable wireless networks. I even need to dynamically change the PSKs for a few of them.  
Right now, I have a simple, crufty, python script that sends a few commands to the controller via Exscript.

Basically we’re testing a bunch of IoT devices that are setup to connect to only one network. It would be very helpful to use Ansible to create the appropriate network as install/testing begins, and destroy it once that process is finished. Needless to say, that’s not a common way to use the Cisco wireless stuff.

It looks like the new network\_cli connection plugin will be perfect for this once 2.3 is out.[1]

Does anyone else have access to Cisco WLCs to be able to create a module to deal with them? I wouldn’t be able to spend enough time to write an entire module from scratch–I haven’t ever written a module before, and I’m not sure I have time to learn it all now. But, I do need to make my crufty script more dynamic, fault-tolerant, and reusable, so, maybe I can use some of that effort to work with someone on such an ansible module. Any takers?

Cheers,  
Jacob Floyd  
Systems Admin at Theatro ([theatro.com](http://theatro.com))

[1] [https://www.ansible.com/blog/networking-features-in-ansible-2-3](https://www.ansible.com/blog/networking-features-in-ansible-2-3)

---

<div class="post-metadata">

**Author:** ![John\_Z](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@John\_Z](https://forum.ansible.com/u/John_Z)\
**Post date:** [August 11, 2017, 1:56pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845/2 "2017-08-11T13:56:47Z")

</div>

Modules were commited to github in the past week that support aireos commands and aireos configuration. I’ve just started woking with them and have successfully run a couple commands on test WLCs. The support looks good and well integrated with the rest of ansible: persistent connections, ansible userid and password variables are used, lots of important functions.

Cisco WLCs commands often prompt before they complete; I’m not sure how well the new support handles that yet.

---

<div class="post-metadata">

**Author:** ![Christer\_Hemgren](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Post date:** [February 15, 2018, 5:06pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845/3 "2018-02-15T17:06:35Z")

</div>

On what aireos version do you have this working?

Regards  
Christer
