Running into this issue inside Corporate network but worked fine outside.
Any clues what needs to be done since passing ca_cert argument to docker_image module and setting http_proxy in the inventory didn’t seem to fix this issue?
The server where I am running Anisble playbook is able to curl the file and download as well with wget command, so I am kind of lost here now.
“msg”: “Error building awx_sdist_builder - code: 1, message: The command ‘/bin/sh -c npm install -g n && n 14.15.1 && dnf remove -y nodejs’ returned a non-zero code: 1, logs: [u’Step 1/7 : FROM centos:8’, u’\n’, u’ —> 300e315adb2f\n’, u’Step 2/7 : RUN dnf -y update && dnf -y install epel-release && dnf install -y bzip2 gcc-c++ gettext git make nodejs python3 python3-setuptools’, u’\n’, u’ —> Using cache\n’, u’ —> 5ef316422c21\n’, u’Step 3/7 : RUN npm install -g n && n 14.15.1 && dnf remove -y nodejs’, u’\n’, u’ —> Running in 74234d18a5af\n’, u’/usr/local/bin/n → /usr/local/lib/node_modules/n/bin/n\n’, u’+ n@6.8.0\nadded 1 package from 4 contributors in 0.59s\n’, u’\n installing : node-v14.15.1\n’, u’\x1b[91mcurl: (60) SSL certificate problem: unable to get local issuer certificate\nMore details here: https://curl.haxx.se/docs/sslcerts.html\\n\\ncurl failed to verify the legitimacy of the server and therefore could not\nestablish a secure connection to it. To learn more about this situation and\nhow to fix it, please visit the web page mentioned above.\n\x1b[0m’, u"\x1b[91m\n Error: download preflight failed for ‘14.15.1’ (https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz)\n\n\x1b[0m", u’Removing intermediate container 74234d18a5af\n’]”
Thanks