Infra: Ansible maintenance
[csit.git] / resources / tools / testbed-setup / ansible / roles / performance_tuning / tasks / ubuntu_bionic.yaml
index 62b64be..273ad53 100644 (file)
@@ -1,11 +1,18 @@
 ---
 # file: roles/performance_tuning/tasks/ubuntu_bionic.yaml
 
-- name: Install CSIT dependencies
-  apt:
-    name:
-      - 'cpufrequtils'
-    state: 'present'
-    cache_valid_time: 3600
-    install_recommends: False
-  tags: install-csit-dependencies
+- name: Ubuntu Bionic - Mount /tmp as tmpfs I
+  copy:
+    src: "/usr/share/systemd/tmp.mount"
+    dest: "/etc/systemd/system/tmp.mount"
+    remote_src: yes
+  tags:
+    - machine-optimizations
+
+- name: Ubuntu Bionic - Mount /tmp as tmpfs II
+  systemd:
+    name: "tmp.mount"
+    daemon_reload: yes
+    enabled: yes
+  tags:
+    - machine-optimizations