Skip to content

Commit

Permalink
updated handler
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Mar 20, 2024
1 parent 6e3449f commit 8f5088f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
masked: false
state: reloaded

- name: remount tmp
command: mount -o remount /tmp

- name: remount dev_shm
command: mount -o remount /dev/shm

Expand Down
2 changes: 1 addition & 1 deletion tasks/section_1/cis_1.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
fstype: "{{ item.fstype }}"
state: present
opts: defaults,{% if amazon2cis_rule_1_1_3 %}noexec,{% endif %}{% if amazon2cis_rule_1_1_4 %}nodev,{% endif %}{% if amazon2cis_rule_1_1_5 %}nosuid{% endif %}
notify: Remount_tmp
notify: remount tmp
loop: "{{ ansible_facts.mounts }}"
loop_control:
label: "{{ item.device }}"
Expand Down

0 comments on commit 8f5088f

Please sign in to comment.