File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed
Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11---
22foreman_container_image : " quay.io/evgeni/foreman-rpm"
33foreman_container_tag : " nightly"
4- foreman_listen_stream : localhost:3000
4+ foreman_listen_stream : /run/foreman.sock
5+ foreman_url : " https://{{ ansible_fqdn }}"
Original file line number Diff line number Diff line change 122122
123123- name : Wait for Foreman service to be accessible
124124 ansible.builtin.uri :
125- url : ' http://{{ foreman_listen_stream }}/api/v2/ping'
125+ url : ' {{ foreman_url }}/api/v2/ping'
126+ validate_certs : false # TODO
126127 until : foreman_status.status == 200
127128 retries : 60
128129 delay : 5
140141
141142- name : Wait for Foreman tasks to be ready
142143 ansible.builtin.uri :
143- url : ' http://{{ foreman_listen_stream }}/api/v2/ping'
144+ url : ' {{ foreman_url }}/api/v2/ping'
145+ validate_certs : false # TODO
144146 until : foreman_tasks_status.json['results']['katello']['services']['foreman_tasks']['status'] == 'ok'
145147 retries : 60
146148 delay : 5
152154 theforeman.foreman.smart_proxy :
153155 name : " {{ ansible_fqdn }}"
154156 url : " https://{{ ansible_fqdn }}:9090"
155- server_url : " http://{{ foreman_listen_stream }}"
157+ server_url : " {{ foreman_url }}"
158+ validate_certs : false # TODO
156159 username : admin
157160 password : changeme
Original file line number Diff line number Diff line change 33:ssl_ca_file: /etc/foreman/katello-default-ca.crt
44:ssl_priv_key: /etc/foreman/client_key.pem
55
6+ :foreman_url: {{ foreman_url }}
7+
68:rails_cache_store:
79 :type: redis
810 :urls:
Original file line number Diff line number Diff line change 77:trusted_hosts:
88 - {{ ansible_fqdn }}
99
10- :foreman_url: http ://{{ ansible_fqdn }}:3000
10+ :foreman_url: https ://{{ ansible_fqdn }}
1111
1212:foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem
1313:foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem
Original file line number Diff line number Diff line change 11httpd_ssl_dir : /etc/pki/httpd
22httpd_pulp_api_backend : http://localhost:24817
33httpd_pulp_content_backend : http://localhost:24816
4- httpd_foreman_backend : http ://localhost:3000
4+ httpd_foreman_backend : unix :///run/foreman.sock
You can’t perform that action at this time.
0 commit comments