Correct lineinfile option

lineinfile uses 'dest' for the file to modify instead of 'path'.

Change-Id: I52b9e97a79ddd4e9207b4bdfa4f4a49df04f8990
This commit is contained in:
Jimmy McCrory 2016-11-18 11:15:46 -08:00
parent b199e4f070
commit 57748b76af

View File

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