Skip to content

Commit ea46fc8

Browse files
author
Joshua Hemmings
committed
use fqmn and do not register change
1 parent 3b69097 commit ea46fc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/cis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
state: present
1515

1616
- name: Check if separate partition
17-
command: grep '/usr/local ' /proc/mounts
17+
ansible.builtin.command: grep '/usr/local ' /proc/mounts
18+
changed_when: false
1819
register: partition_result
1920

2021
- name: Copy systemctl config file for kernel hardening

0 commit comments

Comments
 (0)