-
Notifications
You must be signed in to change notification settings - Fork 167
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
Handling of http_proxy, ssl_ca_cert, ssl_client_cert, ssl_client_key in repositories #1389
Comments
Would you mind checking if this goes away once the |
Yes, it does. I guess I don't need to understand why fixing mirror_on_sync removes the other differences? |
Well, as you asked, I'll try to explain. ;-) When we submit a change to the Foreman API, it returns a JSON representation of the now-modified object. In your case the repository doesn't have a Proxy or SSL certs set, so those parameters are If you now ask "but why isn't this reported always as a difference", in the case where It would probably be correct to strip all |
Thanks for the explanation. Makes sense. So I close this issue as it's not really an issue but just a side effect of the mirror_of_sync setting which has been solved with #1392 |
I've still opened #1398 as I think this is a valuable change to make ;) |
SUMMARY
Running against a katello 4.3 or 4.4 server my playbook always wants to remove
to all of my repositories. I don't use http_proxy not ssl client certs, it's not supposed to be set and isn't.
ANSIBLE VERSION
COLLECTION VERSION
Well, initially I have used the rpm ansible-collection-theforeman-foreman-3.1.0-2.el8.noarch, then I have tried the latest version from ansible-galaxy.
KATELLO/FOREMAN VERSION
STEPS TO REPRODUCE
Set any repository using theforeman.foreman.repository.
EXPECTED RESULTS
Don't suggest any changes.
ACTUAL RESULTS
It keeps changing this, for example:
The text was updated successfully, but these errors were encountered: