From 57748b76af2fca28d593fba060afdd56ec3f4b6b Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Fri, 18 Nov 2016 11:15:46 -0800 Subject: [PATCH] Correct lineinfile option lineinfile uses 'dest' for the file to modify instead of 'path'. Change-Id: I52b9e97a79ddd4e9207b4bdfa4f4a49df04f8990 --- tasks/rhel7stig/graphical.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/rhel7stig/graphical.yml b/tasks/rhel7stig/graphical.yml index b81c4cf2..1bdcff18 100644 --- a/tasks/rhel7stig/graphical.yml +++ b/tasks/rhel7stig/graphical.yml @@ -21,7 +21,7 @@ - name: RHEL-07-010430 - The operating system must not allow an unattended or automatic logon to the system via a graphical user interface lineinfile: - path: /etc/gdm/custom.conf + dest: /etc/gdm/custom.conf line: "^AutomaticLoginEnable=true" state: absent when: @@ -34,7 +34,7 @@ - name: RHEL-07-010431 - The operating system must not allow guest logon to the system. lineinfile: - path: /etc/gdm/custom.conf + dest: /etc/gdm/custom.conf line: "^TimedLoginEnable=true" state: absent when: