{"id":22964692,"url":"https://github.com/39services/ansible_role_rust","last_synced_at":"2025-04-02T04:21:59.082Z","repository":{"id":185697259,"uuid":"638999070","full_name":"39services/ansible_role_rust","owner":"39services","description":"Ansible Role to install Rustup and versions of Rust","archived":false,"fork":false,"pushed_at":"2024-06-07T11:28:42.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T18:04:44.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/39services.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-10T14:41:56.000Z","updated_at":"2024-12-03T13:07:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9da75da2-2ea7-44de-889c-2cb253bb44c4","html_url":"https://github.com/39services/ansible_role_rust","commit_stats":null,"previous_names":["diademiemi/ansible_role_rust","x86-39/ansible_role_rust","39services/ansible_role_rust"],"tags_count":0,"template":false,"template_full_name":"39services/ansible_role_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/39services%2Fansible_role_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/39services%2Fansible_role_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/39services%2Fansible_role_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/39services%2Fansible_role_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/39services","download_url":"https://codeload.github.com/39services/ansible_role_rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246753355,"owners_count":20828134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T20:11:59.560Z","updated_at":"2025-04-02T04:21:59.064Z","avatar_url":"https://github.com/39services.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role Rust\n=========\n\n[![Molecule Test](https://github.com/diademiemi/ansible_role_rust/actions/workflows/molecule.yml/badge.svg)](https://github.com/diademiemi/ansible_role_rust/actions/workflows/molecule.yml)\n\nThis is an Ansible role to install and configure Rust.\n\nThis role can install Rust using system packages or rustup.\n\nWhen running on an unsupported platform, rustup is used, no guarantees are made that this will work.\n\nRequirements\n------------\nThese platforms are supported:\n- Ubuntu 20.04\n- Ubuntu 22.04\n- Debian 11\n- Debian 12\n- EL 8 (Tested on Rocky Linux 8)\n- EL 9 (Tested on Rocky Linux 9)\n- Fedora 40\n- openSUSE Leap 15.5\n\n\u003c!--\n- List hardware requirements here  \n--\u003e\n\nRole Variables\n--------------\n\nVariable | Default | Description\n--- | --- | ---\n`rust_use_rustup` | `true` | Whether to use rustup to install Rust\\\n`rust_rustup_ensure_wget` | `true` | Whether to try to install wget if it is not installed. Requires a become password.\n`rust_rustup_toolchains` | `[\"stable\"]` | List of rustup toolchains to install\n`rust_rustup_default_toolchain` | `{{ rust_rustup_toolchains[0] }}` | The default rustup toolchain\n`rust_rustup_update` | `false` | Whether to update toolchains after installation\n`rust_rustup_user` | `{{ ansible_user_id }}` | The user to install rustup for\n\u003c!--\n`variable` | `default` | Variable example\n`long_variable` | See [defaults/main.yml](./defaults/main.yml) | Variable referring to defaults\n`distro_specific_variable` | See [vars/debian.yml](./vars/debian.yml) | Variable referring to distro-specific variables\n--\u003e\n\nDependencies\n------------\n\u003c!-- List dependencies on other roles or criteria --\u003e\nNone\n\nExample Playbook\n----------------\n\n```yaml\n    - role: \"diademiemi.rust\"\n      tags: ['diademiemi', 'rust', 'setup']    ```\n\n```\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\n- diademiemi (@diademiemi)\n\nRole Testing\n------------\n\nThis repository comes with Molecule that run in Podman on the supported platforms.\nInstall Molecule by running\n\n```bash\npip3 install -r requirements.txt\n```\n\nRun the tests with\n\n```bash\nmolecule test\n```\n\nThese tests are automatically ran by GitHub Actions on push. If the tests are successful, the role is automatically published to Ansible Galaxy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F39services%2Fansible_role_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F39services%2Fansible_role_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F39services%2Fansible_role_rust/lists"}