Cannot refresh list of yum repositories attached to my content hosts using hammer

katello

#1

Problem:

After adding a new yum repository to my content view the new yum repo is not visible in the content hosts until I execute subscription-manager refresh in the local shell of the content host. I would like to be able to trigger the refresh using hammer from the katello host

Foreman and Proxy versions:
foreman-release-1.20.0-2.el7.noarch
foreman-proxy-1.20.0-1.el7.noarch
katello-3.9.0-1.el7.noarch

Other relevant data:

I have tried few different options with hammer host subscription attach ... and hammer host subscription register ... but I couldn’t find any option to refresh the list of yum repositories in the content hosts using hammer.

Is this possible at all or is it mandatory to execute subscription-manager refresh in the content host every time I add a new yum repository to my content view?

thanks for you help.