Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically set rhel9stig_gui variable #29

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

PrymalInstynct
Copy link
Contributor

Overall Review of Changes:
I believe this role would be improved by dynamically determining if the target system to be locked down has Gnome Desktop installed or not. This makes management of the inventory easier and based on my analysis there is not a justification to set this variable statically.

This could be accomplished in a number of ways, I chose to stat the gnome-version.xml file that is installed when the Gnome Desktop packages are installed.

Issue Fixes:
N/A

Enhancements:
Quality of life improvement

How has this been tested?:
Built a fresh Rocky 9 VM with Gnome Desktop installed and executed the entire role.

@uk-bolly
Copy link
Member

Great change and piece of work. Thank you

Copy link
Member

@uk-bolly uk-bolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent Idea and PR

@uk-bolly uk-bolly merged commit 24157ed into ansible-lockdown:devel Sep 17, 2024
4 checks passed
@PrymalInstynct PrymalInstynct deleted the gui_check branch September 18, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants