-
Notifications
You must be signed in to change notification settings - Fork 739
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
Rhel7 #113
Rhel7 #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements.
Could you take a look at the core_dump comment?
@@ -11,7 +11,6 @@ | |||
os_desktop_enable: true | |||
os_env_extra_user_paths: ['/home'] | |||
os_auth_allow_homeless: true | |||
os_security_kernel_enable_core_dump: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove this line?
It should actually be set to false
. Would you set this to false
, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it as it's a duplicate - the other being on line 8. Happy to set to false if you want - but not sure how this file interacts with defaults/main.yml, i.e. which takes priority?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well sorry, I made a mistake here: I thought you removed the line in the defaults/main.yml
, not in the default.yml
. The setting in the default.yml overwrites the setting in the defaults/main.yml, so removing that line was ok. I'll fix this later though.
@@ -35,10 +35,9 @@ | |||
tags: rhosts | |||
|
|||
- include: yum.yml | |||
when: ansible_os_family == 'RedHat' or ansible_os_family == 'Oracle Linux' | |||
when: ansible_os_family == 'RedHat' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that. Seems Ansible fixed that incosistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - some old pre-1.9 versions might need both but given you're about to drop even 1.9 support, hopefully this is OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks!
I can squash & re-push tomorrow if you're happy with the use of Unfortunately the linux-baseline tests are still not passing for centos/oracle-7 for me, with many failures around net ip_v4/6 sysctl properties. But I'd like to tackle them in a different issue/PR (after getting the password complexity working in this one) once I've grokked what's causing them. |
Oracle Linux -> OracleLinux in both ansible_os_family and ansible_distribution: ansible/ansible#10789 (Note - older versions before latest 1.9 had the name including a space - but I can see PR to drop 1.9 support is in progress) pam_pwfamily (the supposed package to install to get password complexity checking in RHEL7) doesn't seem to exist. There is a libpwquality package that provides /usr/lib64/security/pam_pwquality.so, but that is installed by default according to a RHEL support case answer.
Looking at the net failures, they are:
... which don't seem to be implemented in ansible-os-hardening at all yet, so out of scope. So with a final whitespace fix I've squashed and pushed, I think this is good to go. I've also set os_security_kernel_enable_core_dump to false as you suggested. |
You're right here, I alreadyhave a pending commit to fix this. I'll do a last test now, than merge this, thanks! |
fix validation error
Fix RHEL7/Oracle7 runs as mentioned in #112.
Also adds HTTP(S) proxy support to the kitchen test system