diff options
Diffstat (limited to 'roles/rust/meta')
| -rw-r--r-- | roles/rust/meta/argument_specs.yml | 15 | ||||
| -rw-r--r-- | roles/rust/meta/main.yml | 20 |
2 files changed, 35 insertions, 0 deletions
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" |
