[meta] install rustfmt and clippy
change
commit b489301fd0e19ca35e31a3559ebbe3ff3db7bdb6
author Alpha Chen <alpha.chen@gmail.com>
date
parent 18bf2beb
diff --git a/ansible/playbooks/rust.yml b/ansible/playbooks/rust.yml
index fcc5ad27..6f9f99f6 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