Flip setenforce boolean (#22752)

* Flip setenforce boolean

* Update example task name
This commit is contained in:
Bradford Dabbs 2017-03-18 00:18:48 -05:00 committed by scottb
parent 447bb2b150
commit 2472a4587e

View file

@ -282,8 +282,8 @@ of arguments and don't use the ``key=value`` form. This makes
them work as simply as you would expect::
tasks:
- name: disable selinux
command: /sbin/setenforce 0
- name: enable selinux
command: /sbin/setenforce 1
The **command** and **shell** module care about return codes, so if you have a command
whose successful exit code is not zero, you may wish to do this::