# SLES 15 SP1 SAet to Permissive Mode

**URL:** <https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [September 23, 2019, 2:19pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340 "2019-09-23T14:19:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Mills](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Post date:** [September 23, 2019, 2:19pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340/1 "2019-09-23T14:19:58Z")

</div>

Happy Monday All,

I’m working on a task to set SELinux to permissive mode for RHEL/Debian and to set Apparmor to permissive mode for SLES15/12/11. I have my code in place for SELinux but I don’t know what to do for SLES! This is what I have:

`

---

<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:** [September 23, 2019, 4:24pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340/2 "2019-09-23T16:24:47Z")

</div>

Since this has absolutely nothing to do with Ansible I suggest SLES community, Apparmor community or some generic Linux community.

---

<div class="post-metadata">

**Author:** ![Keith\_Mills](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Post date:** [September 26, 2019, 12:28pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340/3 "2019-09-26T12:28:52Z")

</div>

Why doesn’t this have anything to do with Ansible? I’m trying to do this with Ansible! I’m asking if there’s a way to do it within Ansible! How would I set up the Ansible task?

---

<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:** [September 26, 2019, 12:35pm UTC](https://forum.ansible.com/t/sles-15-sp1-saet-to-permissive-mode/31340/4 "2019-09-26T12:35:19Z")

</div>

> Why doesn't this have anything to do with Ansible? I'm trying to do this with Ansible! I'm asking if there's a way to do  
> it within Ansible! How would I set up the Ansible task?

Well if you can come up with a shell command that does what you want, we can certainly translate it in an Ansible task.  
I'm not familiar with Apparmor, so I can't relieve you from that research :-). More questions can be answered if the  
posters do their homework ...

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