-
-
Notifications
You must be signed in to change notification settings - Fork 868
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
Add: proxy_env
variable
#482
base: master
Are you sure you want to change the base?
Conversation
This seems like a lot of changes to support something that may be able to be set on a wider level instead of per-task... |
I agree that implementing this at the role level could offer a more streamlined approach. My initial intention was to apply it on a per-task basis to ensure it's only activated when specifically needed, thereby providing more granular control and avoiding unintended side effects across all tasks within the role. However, I'm open to exploring a role-level configuration or any recommendation you might have. I’d appreciate your guidance on the best approach to align with our overall strategy and maintainability goals. For instance: The proxy environment is not needed in the |
Additionally:
Do you have any recommendations or preferences for these changes? Example:
|
@geerlingguy (Happy New Year :) ) CHANGESModified
|
…_packages_redhat variable in defaults/main.yml
Hello @geerlingguy Again Could you please consider the PR? Review it, and let me know if there is any problem so I can fix it. |
This is a lot of changes, practically rewriting the entire role! I don't generally set any proxy settings in any of my roles, so I would rather not add that change. The other changes may be helpful, but there are so many in one PR, it is hard for me to review them. |
Thank you for your feedback! I understand that this PR includes many changes, which can make it challenging to review. To make the review process easier, I’ll split the changes into multiple, smaller pull requests. Regarding the proxy settings: I completely understand your preference to avoid including proxy configurations in roles. However, I’d like to point out that not everyone can access a mirror or private registry to By keeping the proxy configuration disabled by default, it would not impact users who don’t need it while providing flexibility for those who do. I’m happy to discuss this further if you have any concerns! |
Changes:
Add the
proxy_env
variable in:defaults/main.yml
Add
environment
forproxy
needed tasks in:tasks/docker-compose.yml
tasks/main.yml
tasks/setup-Debian.yml
tasks/setup-RedHat.yml