mirror of
https://github.com/nikdoof/ansible-cis.git
synced 2025-12-18 04:19:27 +00:00
Allow hidden proc to be disabled
This commit is contained in:
2
defaults/main.yaml
Normal file
2
defaults/main.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
cis_hide_proc: false
|
||||
@@ -12,7 +12,7 @@
|
||||
- name: remount proc
|
||||
ansible.posix.mount:
|
||||
path: /proc
|
||||
state: remount
|
||||
state: remounted
|
||||
- name: restart journald
|
||||
ansible.builtin.service:
|
||||
name: systemd-journald
|
||||
|
||||
@@ -8,3 +8,4 @@
|
||||
state: present
|
||||
fstype: proc
|
||||
notify: remount proc
|
||||
when: cis_hide_proc
|
||||
Reference in New Issue
Block a user