Open flying-giraffe opened 5 months ago
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
Using the official ubuntu:24.04 image and php8.3 installed, there is a problem with getting the installer signature when trying to install composer:
1:03:18 PM PLAY [composer task] *********************************************************** 1:03:18 PM [WARNING]: An error occurred while calling 1:03:18 PM ansible.utils.display.initialize_locale (unsupported locale setting). This may 1:03:18 PM result in incorrectly calculated text widths that can cause Display to print 1:03:18 PM incorrect line lengths 1:03:18 PM 1:03:18 PM TASK [Gathering Facts] ********************************************************* 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Check if requested version parameters are valid] *** 1:03:19 PM skipping: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Set php_executable variable to a default if not defined.] *** 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Check if Composer is installed.] ****************** 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Get Composer installer signature.] **************** 1:03:20 PM An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'CustomHTTPSConnection' object has no attribute 'cert_file' 1:03:20 PM fatal: [127.0.0.1]: FAILED! => changed=false 1:03:20 PM content: '' 1:03:20 PM elapsed: 0 1:03:20 PM msg: 'Status code was -1 and not [200]: An unknown error occurred: ''CustomHTTPSConnection'' object has no attribute ''cert_file''' 1:03:20 PM redirected: false 1:03:20 PM status: -1 1:03:20 PM url: https://composer.github.io/installer.sig 1:03:20 PM 1:03:20 PM PLAY RECAP ********************************************************************* 1:03:20 PM 127.0.0.1 : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 1:03:20 PM 1:03:20 PM Running playbook failed: exit status 2