Initial commit

Change-Id: I2b916ff0acd2a88aeef709cf4f900503e823d44d
diff --git a/playbooks/clippy.yml b/playbooks/clippy.yml
new file mode 100644
index 0000000..47f7ed4
--- /dev/null
+++ b/playbooks/clippy.yml
@@ -0,0 +1,5 @@
+- hosts: all
+  tasks:
+    - shell: cargo clippy
+      args:
+        chdir: "{{ zuul.project.src_dir }}"
diff --git a/playbooks/pre.yml b/playbooks/pre.yml
new file mode 100644
index 0000000..c8244d1
--- /dev/null
+++ b/playbooks/pre.yml
@@ -0,0 +1,10 @@
+- hosts: all
+  roles:
+    - ensure-rust
+
+  tasks:
+    - name: Install dependencies
+      become: true
+      package:
+        name: build-essential
+        state: present
diff --git a/playbooks/test.yml b/playbooks/test.yml
new file mode 100644
index 0000000..ffe4dd9
--- /dev/null
+++ b/playbooks/test.yml
@@ -0,0 +1,5 @@
+- hosts: all
+  tasks:
+    - shell: cargo test
+      args:
+        chdir: "{{ zuul.project.src_dir }}"