diff --git a/ansible/playbooks/rust.yml b/ansible/playbooks/rust.yml index fcc5ad2..6f9f99f 100644 --- a/ansible/playbooks/rust.yml +++ b/ansible/playbooks/rust.yml @@ -3,3 +3,11 @@ tasks: - name: install rustup shell: curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain nightly + args: + warn: False + + - name: install rustfmt, clippy + command: rustup component add {{ item }} + with_items: + - rustfmt + - clippy