add disablement flag for the gdm controls (1.8.x)

Signed-off-by: polski-g <polski_g@sent.at>
This commit is contained in:
polski_g 2025-06-03 15:38:45 -04:00 committed by polski-g
parent 025d83d2c6
commit 18493b5c37
No known key found for this signature in database
GPG key ID: C077F64D3FFD4D39
2 changed files with 3 additions and 0 deletions

View file

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

View file

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