# Set SELinux to permissive mode and reboot.

**URL:** <https://forum.ansible.com/t/set-selinux-to-permissive-mode-and-reboot/31201>\
**Category:** Ansible Project\
**Created:** [September 5, 2019, 2:36am UTC](https://forum.ansible.com/t/set-selinux-to-permissive-mode-and-reboot/31201 "2019-09-05T02:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zolvaring](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@Zolvaring](https://forum.ansible.com/u/Zolvaring)\
**Post date:** [September 5, 2019, 2:36am UTC](https://forum.ansible.com/t/set-selinux-to-permissive-mode-and-reboot/31201/1 "2019-09-05T02:36:08Z")

</div>

I’m almost positive you’d have to register the SELinux task return to get this to work, ‘reboot\_required’ is not going to exist outside of that scope, I think what you would need is:
