ansible-collection-uyuni icon indicating copy to clipboard operation
ansible-collection-uyuni copied to clipboard

bootstrap failed because are using http

Open alessandronetov8 opened this issue 1 year ago • 1 comments

When I using uyuni collection to bootstrap a few linux servers, AWX show me following error:

"HTTP Error 404: 404", "status_code": 404, "url": "http://myuyunifqdn/pub/bootstrap/bootstrap-oraclelinux8.9.sh"}

looking for uyuni docs and open manually repo bootstrap I saw that URL its working just https but bootstrap.yml (roles/client/tasks/bootstrap.yml) are set to using http

  • name: Download Uyuni bootstrap script ansible.builtin.get_url: url: "http://{{ uyuni_server }}/pub/bootstrap/{{ uyuni_bootstrap_filename }}" dest: "{{ uyuni_bootstrap_folder }}/bootstrap.sh"

alessandronetov8 avatar Jan 23 '24 18:01 alessandronetov8

Hi @alessandronetov8, thanks for pointing out!

What does your setup look like (version, deployment type)? Usually http should work without any issues. I went for http instead of https because of certificate issues when using self-signed certificates. But I could address this with a parameter.

stdevel avatar Jan 24 '24 19:01 stdevel