10 lines
301 B
YAML
10 lines
301 B
YAML
- name: "get toolchain version"
|
|
shell: rustup check
|
|
register: old_toolchain_version
|
|
changed_when: false
|
|
|
|
- name: "update toolchain and rustup"
|
|
register: update_toolchain
|
|
shell: "rustup update {{ rust_toolchain_version }}"
|
|
changed_when: "'downloading component' in update_toolchain.stdout"
|