foreman-ansible-modules icon indicating copy to clipboard operation
foreman-ansible-modules copied to clipboard

automated sync of product or repository

Open gvde opened this issue 2 years ago • 0 comments

SUMMARY

theforeman.foreman.repositories configures products and repository. If you use ansible for an initial setup of a katello installation you'll need at least the content of the baseos repos, for instance to use it as kickstart repo in a hostgroup. So it would be convenient if it was possible to sync the repo directly after creating.

ISSUE TYPE

Add a flag like "sync_now" to the role, default false, which would run the theforeman.foreman.repository_sync task for that repository (or product if it's in a product).

gvde avatar May 25 '22 13:05 gvde