From fc1491ba66118fcb53190f618ef22351cb0eed55 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 2 Dec 2025 17:32:42 +0100 Subject: Add rust role w/testing --- roles/rust/meta/argument_specs.yml | 15 +++++++++++++++ roles/rust/meta/main.yml | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 roles/rust/meta/argument_specs.yml create mode 100644 roles/rust/meta/main.yml (limited to 'roles/rust/meta') diff --git a/roles/rust/meta/argument_specs.yml b/roles/rust/meta/argument_specs.yml new file mode 100644 index 00000000..93ebc36e --- /dev/null +++ b/roles/rust/meta/argument_specs.yml @@ -0,0 +1,15 @@ +--- +argument_specs: + main: + short_description: "Install Rust via rustup on Linux distributions" + description: "Install Rust via rustup on Linux distributions" + options: + rust_toolchain: + type: "str" + description: "The Rust toolchain to install (stable, beta, nightly)" + default: "stable" + rust_components: + type: "list" + description: "Additional rustup components to install" + elements: "str" + default: [] diff --git a/roles/rust/meta/main.yml b/roles/rust/meta/main.yml new file mode 100644 index 00000000..7f664eef --- /dev/null +++ b/roles/rust/meta/main.yml @@ -0,0 +1,20 @@ +--- +dependencies: + - role: "bash" + - role: "curl" +galaxy_info: + author: "a14m" + description: "Install Rust via rustup on Linux distributions" + company: "kartoffeln.work GmbH." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" -- cgit v1.2.3