From 2472a4587eaf7f61333d22a3a888f060a5a86f19 Mon Sep 17 00:00:00 2001 From: Bradford Dabbs Date: Sat, 18 Mar 2017 00:18:48 -0500 Subject: [PATCH] Flip setenforce boolean (#22752) * Flip setenforce boolean * Update example task name --- docs/docsite/rst/playbooks_intro.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/playbooks_intro.rst b/docs/docsite/rst/playbooks_intro.rst index adeb5cbfd40..3322fe3e475 100644 --- a/docs/docsite/rst/playbooks_intro.rst +++ b/docs/docsite/rst/playbooks_intro.rst @@ -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::