mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 14:27:12 +00:00
dont not run section 1.8 if not gdm PR #364 from public
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
62095f75fe
commit
73320db603
2 changed files with 3 additions and 0 deletions
|
|
@ -592,6 +592,8 @@ rhel9cis_warning_banner: Authorized users only. All activity may be monitored an
|
|||
# End Banner
|
||||
|
||||
## Control 1.8.x - Settings for GDM
|
||||
# do not run Control 1.8.x if using a display manager different than gdm
|
||||
rhel9cis_display_manager: "gdm"
|
||||
## 1.8 GDM graphical interface
|
||||
rhel9cis_gui: "{{ prelim_gnome_present.stat.exists | default(false) }}"
|
||||
# This variable specifies the GNOME configuration database file to which configurations are written.
|
||||
|
|
|
|||
|
|
@ -61,5 +61,6 @@
|
|||
file: cis_1.7.x.yml
|
||||
|
||||
- name: "SECTION | 1.8 | Gnome Display Manager"
|
||||
when: rhel9cis_display_manager == 'gdm'
|
||||
ansible.builtin.import_tasks:
|
||||
file: cis_1.8.x.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue