-
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
mirror_on_sync is deprecated #1388
Comments
Ah, indeed. Didn't notice it was picked back. Will update the docs. |
@evgeni I am somewhat confused right now. I have 3.4.0 installed but I just ran my playbook again and it wants to set mirror_on_sync on all my repositories even though it has a mirroring_policy already set.
|
@gvde without seeing the playbook, it's hard to say ;) |
@evgeni Oh. I thought it was in the initial post...
Whenever I run it I get this:
I have stripped it down here to these two repos, but all are affected. |
Is that with or without #1419? |
OMG. By now I have so many issues open, so many hotfixes and workarounds implemented to get it properly working until the issues have been properly resolved, that I am actually loosing the track... With #1419 of course, it won't complain about changes anymore. I have assumed this was already in with #1392... |
SUMMARY
Running against a katello 4.3 or 4.4 server my playbook always wants to add
to all of my repositories. However, mirror_on_sync has been deprecated and replaced by mirroring_policy.
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 make any changes on the second run.
ACTUAL RESULTS
It keeps changing this, for example:
The text was updated successfully, but these errors were encountered: