-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is a Vagrant block to allow proxy settings to be carried into Kitchen | ||
# You need this for all of yum/apt etc. to work! | ||
unless ENV['http_proxy'].empty? || Vagrant.has_plugin?("vagrant-proxyconf") | ||
raise "Missing required plugin 'vagrant-proxyconf' to support HTTP(S) proxies, run `vagrant plugin install vagrant-proxyconf`" | ||
end | ||
|
||
Vagrant.configure(2) do |config| | ||
config.proxy.http = "#{ENV['http_proxy']}" | ||
config.proxy.https = "#{ENV['https_proxy']}" | ||
config.proxy.no_proxy = "localhost,127.0.0.1" | ||
|
||
# You may have vagrant-vbguest plugin installed to keep your images up to date | ||
# - but will probably have VBoxAddition build issues with the foreign boxes listed in .kitchen.vagrant.yml | ||
config.vbguest.auto_update = false | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Yes, thanks! |
||
tags: yum | ||
|
||
- include: apt.yml | ||
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' | ||
tags: apt | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
os_packages_pam_ccreds: 'pam_ccreds' | ||
os_packages_pam_passwdqc: 'pam_passwdqc' | ||
os_packages_pam_cracklib: 'pam_cracklib' | ||
os_packages_pam_pwquality: 'pam_pwfamily' | ||
os_nologin_shell_path: '/sbin/nologin' |
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 tofalse
, 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 thedefault.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.