From e3449b6691dfcd3be5c45baf1ad0e9a556581889 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 30 Sep 2014 07:12:23 -0500 Subject: [PATCH] Updating SELinux example doc in lininefile module Encouraging users to use this Ansible module to enable SELinux seems like a better idea. It also warms Dan Walsh's heart. Signed-off-by: Major Hayden --- lib/ansible/modules/files/lineinfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 12f8dc89a7..efe002c448 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -127,7 +127,7 @@ options: """ EXAMPLES = r""" -- lineinfile: dest=/etc/selinux/config regexp=^SELINUX= line=SELINUX=disabled +- lineinfile: dest=/etc/selinux/config regexp=^SELINUX= line=SELINUX=enforcing - lineinfile: dest=/etc/sudoers state=absent regexp="^%wheel"