Infra: Ansible maintenance
[csit.git] / resources / tools / testbed-setup / ansible / roles / performance_tuning / tasks / ubuntu_bionic.yaml
index f239890..273ad53 100644 (file)
@@ -2,16 +2,17 @@
 # file: roles/performance_tuning/tasks/ubuntu_bionic.yaml
 
 - name: Ubuntu Bionic - Mount /tmp as tmpfs I
-    copy:
-      src: "/usr/share/systemd/tmp.mount"
-      dest: "/etc/systemd/system/tmp.mount"
-      remote_src: yes
+  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
-  service:
+  systemd:
     name: "tmp.mount"
+    daemon_reload: yes
     enabled: yes
   tags:
     - machine-optimizations