ECGALAXY Open Source Infrastructure as Code components
2022-02-27
The ECGALAXY project provides a set of Infrastructure as Code (IaC) components, used by European Commission IT teams.
Some of these components are now open source under the EUPL license and maintained on code.europa.eu, the code development platform for open source projects from the European Union institutions.
The source code is also mirrored on GitHub.
The current focus is on development environments and Ansible 'roles', which are made available through Ansible Galaxy, while there are plans to publish other types of IaC components.
ECGALAXY components published as open source include:
- aws_ssm: an Ansible collection which provides an inventory plugin for resources managed through AWS System Manager
- aws_workspace_tweaks: additional settings for AWS WorkSpaces, including automated installation of the CommisSign root certificate in Firefox and Chrome
- containers_toolbox: an Ansible role installing containers-related command line tools (dive, helm, k9s, kubectl, pack, ...)
- nodejs: an Ansible role installing Node.js, including Node.js 18.x, 20.x and 22.x for Amazon Linux 2
- php: an Ansible role installing the PHP language, CLI and extensions (including OCI8)
- task: an Ansible role for Task, a task runner / build tool written in Go
ECGALAXY Ansible roles support the following platforms:
- Amazon Linux 2 & 2023
- Enterprise Linux 7 & 8
- Ubuntu 18.04 LTS, 20.04 LTS, 22.04 LTS & 24.04 LTS
They can be easily executed locally using the ansible-role script, which only requires Python 3.
Example one-liner, which executes the containers_toolbox
role locally:
bash <(curl -s https://code.europa.eu/-/snippets/1/raw/main/ansible-role.sh) ecgalaxy.containers_toolbox
Last updated: 2024-07-03