[PATCH v7 01/12] Add basic ansible infrastructure
Claudio Bantaloukas via Sourceware Forge
forge-bot@forge-test.rdfm.org
Wed Oct 1 10:51:39 GMT 2025
From: Claudio Bantaloukas <claudio.bantaloukas@arm.com>
This ansible setup allows converging three hosts:
- forge.sourceware.org
- an ephemeral test harness VM called forge-test used for
quickly testing that all the roles work when starting on a bare
system
- a temporary host for testing: forge-test.rdfm.org
A basic ansible inventory and playbook are provided. Most
configuration occurs via the included ansible.cfg file.
Ansible galaxy will download collections and roles under the
gitignored downloaded-roles and downloaded-collections
directories.
A series of scripts are added for convenience under the scripts
directory, these have been documented in the README.md file.
---
.ansible-lint | 2 +
.gitignore | 3 +
README | 24 ---
README.md | 75 +++++++
ansible.cfg | 14 ++
.../group_vars/all/ssh_connection.yml | 6 +
.../forge-production/ssh_connection.yml | 4 +
.../host_vars/forge-test.rdfm.org/secrets.yml | 192 ++++++++++++++++++
.../forge-test.rdfm.org/ssh_connection.yml | 5 +
provisioning/host_vars/forge-test/secrets.yml | 88 ++++++++
.../host_vars/forge-test/ssh_connection.yml | 4 +
provisioning/inventory.yml | 8 +
provisioning/playbook.yml | 21 ++
provisioning/requirements.yml | 4 +
scripts/apply-production | 33 +++
scripts/apply-rdfm | 33 +++
scripts/ensure-venv | 34 ++++
scripts/lint | 37 ++++
scripts/test | 70 +++++++
scripts/vault-pass | 25 +++
20 files changed, 658 insertions(+), 24 deletions(-)
create mode 100644 .ansible-lint
create mode 100644 .gitignore
delete mode 100644 README
create mode 100644 README.md
create mode 100644 ansible.cfg
create mode 100644 provisioning/group_vars/all/ssh_connection.yml
create mode 100644 provisioning/host_vars/forge-production/ssh_connection.yml
create mode 100644 provisioning/host_vars/forge-test.rdfm.org/secrets.yml
create mode 100644 provisioning/host_vars/forge-test.rdfm.org/ssh_connection.yml
create mode 100644 provisioning/host_vars/forge-test/secrets.yml
create mode 100644 provisioning/host_vars/forge-test/ssh_connection.yml
create mode 100755 provisioning/inventory.yml
create mode 100755 provisioning/playbook.yml
create mode 100644 provisioning/requirements.yml
create mode 100755 scripts/apply-production
create mode 100755 scripts/apply-rdfm
create mode 100755 scripts/ensure-venv
create mode 100755 scripts/lint
create mode 100755 scripts/test
create mode 100755 scripts/vault-pass
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v7-0001-Add-basic-ansible-infrastructure.patch
Type: text/x-patch
Size: 39704 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/forge/attachments/20251001/757188d2/attachment.bin>
More information about the Forge
mailing list