Ansible: Mount /tmp as tmpfs
[csit.git] / resources / tools / testbed-setup / ansible / roles / performance_tuning / tasks / ubuntu_bionic.yaml
1 ---
2 # file: roles/performance_tuning/tasks/ubuntu_bionic.yaml
3
4 - name: Ubuntu Bionic - Mount /tmp as tmpfs I
5     copy:
6       src: "/usr/share/systemd/tmp.mount"
7       dest: "/etc/systemd/system/tmp.mount"
8       remote_src: yes
9   tags:
10     - machine-optimizations
11
12 - name: Ubuntu Bionic - Mount /tmp as tmpfs II
13   service:
14     name: "tmp.mount"
15     enabled: yes
16   tags:
17     - machine-optimizations