X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fperformance_tuning%2Ftasks%2Fubuntu_bionic.yaml;fp=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fperformance_tuning%2Ftasks%2Fubuntu_bionic.yaml;h=f239890989e56897d7d188ba5e18adf8932a5a5c;hp=0000000000000000000000000000000000000000;hb=5145244d6dadd309ecdcb24289aed13485ae2e9d;hpb=46a4469f4e585d4ea1c9410f72ee519c3148cae0 diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml new file mode 100644 index 0000000000..f239890989 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml @@ -0,0 +1,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 + tags: + - machine-optimizations + +- name: Ubuntu Bionic - Mount /tmp as tmpfs II + service: + name: "tmp.mount" + enabled: yes + tags: + - machine-optimizations