- hosts: image tasks: - name: "install tools for Rust and Subplot" apt: name: - build-essential - cmake - curl - graphviz - librsvg2-bin - plantuml - daemonize - procps - 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