Flip setenforce boolean (#22752)
* Flip setenforce boolean * Update example task name
This commit is contained in:
parent
447bb2b150
commit
2472a4587e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue