Allow hidden proc to be disabled

This commit is contained in:
2023-05-20 08:29:34 +01:00
parent 9a59c26611
commit 0f237250b9
3 changed files with 4 additions and 1 deletions

2
defaults/main.yaml Normal file
View File

@@ -0,0 +1,2 @@
---
cis_hide_proc: false

View File

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

View File

@@ -8,3 +8,4 @@
state: present
fstype: proc
notify: remount proc
when: cis_hide_proc