diff options
Diffstat (limited to 'roles/rust/meta')
| -rw-r--r-- | roles/rust/meta/argument_specs.yml | 13 | ||||
| -rw-r--r-- | roles/rust/meta/main.yml | 5 |
2 files changed, 8 insertions, 10 deletions
diff --git a/roles/rust/meta/argument_specs.yml b/roles/rust/meta/argument_specs.yml index 93ebc36e..612812b6 100644 --- a/roles/rust/meta/argument_specs.yml +++ b/roles/rust/meta/argument_specs.yml @@ -1,15 +1,14 @@ --- 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_versions: + type: "list" + description: "Rust versions to install via mise (e.g. 'stable', 'nightly')" + elements: "str" + default: ["stable"] rust_components: type: "list" - description: "Additional rustup components to install" + description: "Rust components to install via rustup (applied to the active toolchain)" elements: "str" default: [] diff --git a/roles/rust/meta/main.yml b/roles/rust/meta/main.yml index 8afa47c1..af2fe6fa 100644 --- a/roles/rust/meta/main.yml +++ b/roles/rust/meta/main.yml @@ -1,10 +1,9 @@ --- dependencies: - - role: "bash" - - role: "curl" + - role: "mise" galaxy_info: author: "a14m" - description: "Install Rust via rustup on Linux distributions" + description: "Install Rust (versions) via mise on Linux distributions" license: "MIT" min_ansible_version: "2.18" platforms: |
