mcoia / eg-docker

Evergreen on Google container Docker
13 stars 8 forks source link

Download the correct architecture of websocketd based on ansible_architecture fact #7

Closed sandbergja closed 1 year ago

sandbergja commented 2 years ago

Right now, the "Download websocketsd" task in install_evergreen.yml playbook downloads https://github.com/joewalnes/websocketd/releases/download/v0.3.0/websocketd-0.3.0-linux_amd64.zip.

However, if your docker container has an arm architecture, that version won't do much good. You'd need https://github.com/joewalnes/websocketd/releases/download/v0.3.0/websocketd-0.3.0-linux_arm.zip instead.

It would be nice if this task could consult the ansible_architecture fact and download the correct zip for the container's architecture accordingly!