Today there is no possibility to add a HTTP Proxy using ansible module. To setup the http_proxy system-wide, I can use the 'setting' module, but I have to create it first. Example: # hammer http-proxy create --name "default-proxy" --username "proxyuser" --password "proxypass" --url "http://proxy.example.com:8080" --location "Default Location" - name: Set default https proxy setting: username: "{{ sat_user }}" password: "{{ sat_passwd }}" server_url: "{{ sat_url }}" name: "content_default_http_proxy" value: "default-proxy"
Verified using test automation on Satellite 6.8 sn 16
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366