Skip to content
Snippets Groups Projects
Unverified Commit e5d6c042 authored by Dickson Tung's avatar Dickson Tung Committed by GitHub
Browse files

Fix regex for replacing http_proxy (#8957)

parent 3ae39701
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
when: not skip_http_proxy_on_os_packages
- name: Add proxy to RHEL subscription-manager if http_proxy is defined
command: /sbin/subscription-manager config --server.proxy_hostname={{ http_proxy | regex_replace(':\\d+$') }} --server.proxy_port={{ http_proxy | regex_replace('^.*:') }}
command: /sbin/subscription-manager config --server.proxy_hostname={{ http_proxy | regex_replace(':\d+$') }} --server.proxy_port={{ http_proxy | regex_replace('^.*:') }}
become: true
when:
- not skip_http_proxy_on_os_packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment