Skip to content

Commit

Permalink
Removing some trailing whitespaces
Browse files Browse the repository at this point in the history
Signed-off-by: Diana-Maria Dumitru <[email protected]>
  • Loading branch information
DianaMariaDDM committed Jan 29, 2024
1 parent 05c2a5a commit 4343e34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
when:
- "'/tmp' in mount_names"
- tmp_mnt_type == 'fstab'
- item.mount == "/tmp"
listen: Writing and remounting tmp
- item.mount == "/tmp"
listen: Writing and remounting tmp

- name: Remount tmp
ansible.posix.mount:
Expand Down
6 changes: 3 additions & 3 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
ansible.builtin.set_fact:
tmp_partition_mount_options: []
when: "'/tmp' not in mount_names"
- name: Initializing the var if there is a /tmp mount

- name: Initializing the var if there is a /tmp mount
ansible.builtin.set_fact:
tmp_partition_mount_options: "{{ item.options }}"
loop: "{{ ansible_facts.mounts }}"
when:
when:
- item.mount == "/tmp"
- "'/tmp' in mount_names"
tags:
Expand Down
12 changes: 6 additions & 6 deletions tasks/section_1/cis_1.1.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
ansible.builtin.set_fact:
tmp_partition_mount_options: "{{ tmp_partition_mount_options + [ 'nodev' ] }}"
notify: Writing and remounting tmp
when: ubtu22cis_rule_1_1_2_2
tags:
when: ubtu22cis_rule_1_1_2_2
tags:
- level1-server
- level1-workstation
- automated
Expand All @@ -40,8 +40,8 @@
ansible.builtin.set_fact:
tmp_partition_mount_options: "{{ tmp_partition_mount_options + [ 'noexec' ] }}"
notify: Writing and remounting tmp
when: ubtu22cis_rule_1_1_2_3
tags:
when: ubtu22cis_rule_1_1_2_3
tags:
- level1-server
- level1-workstation
- automated
Expand All @@ -53,8 +53,8 @@
ansible.builtin.set_fact:
tmp_partition_mount_options: "{{ tmp_partition_mount_options + [ 'nosuid' ] }}"
notify: Writing and remounting tmp
when: ubtu22cis_rule_1_1_2_4
tags:
when: ubtu22cis_rule_1_1_2_4
tags:
- level1-server
- level1-workstation
- automated
Expand Down

0 comments on commit 4343e34

Please sign in to comment.