summaryrefslogtreecommitdiff
path: root/rust.yml
blob: 1f9197a18bc75ac92af0c069d55049343af11dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- hosts: image
  tasks:

    - name: "install tools for Rust"
      apt:
        name:
          - build-essential
          - cmake
          - curl

    - name: "install rustup"
      shell: |
        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh
        sh /tmp/rustup.sh -y --no-modify-path        

  vars:
    ansible_python_interpreter: /usr/bin/python3