gsoft-inc / ansible-role-azure-devops-agent

An Ansible role that installs and configures a Linux machine to be used as an Azure DevOps build or deployment agent.
59 stars 72 forks source link

Ubuntu 22.04 & backport other PRs #75

Open Poil opened 1 year ago

thebtm commented 1 year ago

Good Afternoon, I was testing these changes on Ubuntu 22.04 LTS and the role failed at Install Legacy dependencies. I am wondering why not just install libssl3 as a dependancy and not use legacy install?

TASK [Azure_DevOps_Agent : Install Legacy dependencies] ********************************************************************************************************************************************************
failed: [192.168.2.100] (item=http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb) => {"ansible_loop_var": "item", "changed": false, "item": "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb", "msg": "Unable to install package: E:read, still have 8 to read but none left"}

Edit: I removed the legacy task and SSL task and just added libssl3 as dependancy package and the role completed successfully for Ubuntu 22.04 LTS

thebtm commented 1 year ago

After making the changes I did for Ubuntu 22.04 LTS. this role works great.

Poil commented 11 months ago

Which version of the agent did you install ? v3 use libssl3

thebtm commented 9 months ago

I was using Azure DevOps Agent 3.227.2 on Ubuntu 22.04 LTS.