Flip setenforce boolean (#22752)

* Flip setenforce boolean

* Update example task name
pull/22443/head
Bradford Dabbs 7 years ago committed by scottb
parent 447bb2b150
commit 2472a4587e

@ -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::

Loading…
Cancel
Save