mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
Added comment on set_fact for mountpoints
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
d850fc5875
commit
834fa7a5ee
1 changed files with 21 additions and 21 deletions
|
|
@ -7,10 +7,10 @@
|
|||
mount_point: '/tmp'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /tmp"
|
||||
|
||||
- name: "Remounting /tmp"
|
||||
|
|
@ -35,10 +35,10 @@
|
|||
mount_point: '/dev/shm'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /dev/shm"
|
||||
|
||||
- name: "Remounting /dev/shm"
|
||||
|
|
@ -54,10 +54,10 @@
|
|||
mount_point: '/home'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /home"
|
||||
|
||||
- name: "Remounting /home"
|
||||
|
|
@ -73,10 +73,10 @@
|
|||
mount_point: '/var'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /var"
|
||||
|
||||
- name: "Remounting /var"
|
||||
|
|
@ -92,10 +92,10 @@
|
|||
mount_point: '/var/tmp'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /var/tmp"
|
||||
|
||||
- name: "Remounting /var/tmp"
|
||||
|
|
@ -111,10 +111,10 @@
|
|||
mount_point: '/var/log'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /var/log"
|
||||
|
||||
- name: "Remounting /var/log"
|
||||
|
|
@ -130,10 +130,10 @@
|
|||
mount_point: '/var/log/audit'
|
||||
ansible.posix.mount:
|
||||
path: "{{ mount_point }}"
|
||||
src: "{{ mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
src: "{{ prelim_mount_point_fs_and_options[mount_point]['src'] }}"
|
||||
state: present
|
||||
fstype: "{{ mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
fstype: "{{ prelim_mount_point_fs_and_options[mount_point]['fs_type'] }}"
|
||||
opts: "{{ prelim_mount_point_fs_and_options[mount_point]['options'] | unique | join(',') }}"
|
||||
listen: "Remount /var/log/audit"
|
||||
|
||||
- name: "Remounting /var/log/audit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue