Adding mvn to corddev host
diff --git a/ansible/corddev.yml b/ansible/corddev.yml
index 5bdfa0b..b5303bc 100644
--- a/ansible/corddev.yml
+++ b/ansible/corddev.yml
@@ -8,3 +8,4 @@
- consul-template
- registry
- java8-oracle
+ - buildtools
diff --git a/ansible/roles/buildtools/defaults/main.yml b/ansible/roles/buildtools/defaults/main.yml
new file mode 100644
index 0000000..b7568df
--- /dev/null
+++ b/ansible/roles/buildtools/defaults/main.yml
@@ -0,0 +1,2 @@
+apt_packages:
+ - maven
diff --git a/ansible/roles/buildtools/tasks/main.yml b/ansible/roles/buildtools/tasks/main.yml
new file mode 100644
index 0000000..a147e6e
--- /dev/null
+++ b/ansible/roles/buildtools/tasks/main.yml
@@ -0,0 +1,6 @@
+- name: Apt packages
+ apt:
+ name: "{{ item }}"
+ with_items: apt_packages
+ tags: [buildtools]
+