Ansible testbed setup for Taishan testbed
[csit.git] / resources / tools / testbed-setup / ansible / roles / sut / tasks / ubuntu.yaml
diff --git a/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu.yaml b/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu.yaml
new file mode 100644 (file)
index 0000000..824f092
--- /dev/null
@@ -0,0 +1,106 @@
+---
+# file: roles/sut/tasks/ubuntu.yaml
+
+- name: Install DKMS
+  apt:
+    name: 'dkms'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-dkms
+
+- name: Install pkg-config
+  apt:
+    name: 'pkg-config'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-pkg-config
+
+- name: Install libglib2.0-dev
+  apt:
+    name: 'libglib2.0-dev'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-libglib2.0-dev
+
+- name: Install autoconf
+  apt:
+    name: 'autoconf'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-autoconf
+
+- name: Install libtool
+  apt:
+    name: 'libtool'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-libtool
+
+- name: Install screen
+  apt:
+    name: 'screen'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-screen
+
+- name: Install libmbedcrypto1
+  apt:
+    name: 'libmbedcrypto1'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-libmbedcrypto1
+
+- name: Install libmbedtls10
+  apt:
+    name: 'libmbedtls10'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-libmbedtls10
+
+- name: Install libmbedx509-0
+  apt:
+    name: 'libmbedx509-0'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-libmbedx509-0
+
+- name: Install lxc
+  apt:
+    name: 'lxc'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-lxc
+
+- name: Install java
+  apt:
+    name: 'openjdk-8-jdk'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-java
+
+- name: Install Pixman (Qemu-dep)
+  apt:
+    name: 'libpixman-1-dev'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-pixman
+
+- name: Install python-cffi
+  apt:
+    name: 'python-cffi'
+    state: 'present'
+    update_cache: True
+  become: yes
+  tags: install-python-cffi