# Ansible on CentOS 7 problem with "selinux" on a Cisco Wireless LAN Controller

**URL:** <https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [April 7, 2020, 12:30pm UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618 "2020-04-07T12:30:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [April 7, 2020, 12:30pm UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618/1 "2020-04-07T12:30:40Z")

</div>

You can’t expect us to visit random URLs in order to help.  
Please post the playbook and error inline in your message.

---

<div class="post-metadata">

**Author:** ![Sebigeli](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Sebigeli](https://forum.ansible.com/u/Sebigeli)\
**Post date:** [April 7, 2020, 1:14pm UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618/2 "2020-04-07T13:14:53Z")

</div>

Edit : you are right, excuse me, attached the update

Hello everyone !

- I have a Cisco Wireless LAN Controller 5520
- I use Ansible 2.9.6 about CentOS 7.7
- I use Aireos module of Ansible

I need to display the list of APs on the WLC and export it file for used in a powershell script for add the AP on PRTG Supervision.

I manage to display the list of AP present on the WLC but to make a copy of the data in file it does not work.

I think, the problem come of Selinux, the WLC dont have it, do you have a settings for skip this ?

My playbook file :

> **(attachments)**
>
> ![Ansible-Error-WLC-Playbook.png](https://us1.discourse-cdn.com/ansible/original/2X/2/2034061161a308fa7fb0c734ed5befddff176aa2.png)

---

<div class="post-metadata">

**Author:** ![Sebigeli](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Sebigeli](https://forum.ansible.com/u/Sebigeli)\
**Post date:** [April 10, 2020, 9:15am UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618/3 "2020-04-10T09:15:11Z")

</div>

No idea ?  
Thanks

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [April 10, 2020, 3:48pm UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618/4 "2020-04-10T15:48:04Z")

</div>

Well, when you post your error message as an image you limit the number for people that can help.  
As an example, my mail client doesn't support images or HTML-mails.

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [April 10, 2020, 3:53pm UTC](https://forum.ansible.com/t/ansible-on-centos-7-problem-with-selinux-on-a-cisco-wireless-lan-controller/32618/5 "2020-04-10T15:53:07Z")

</div>

Even if the mail clients support it, the screen shot if often hard to read (small font. green on  
black background, ..)

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
