# 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