X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fperformance_tuning%2Ftasks%2Fubuntu_bionic.yaml;h=273ad53f25721b70b020079230de4a28904d493c;hb=ecfe59f83a49e0dda9cead06b81339e4ea545053;hp=62b64be4692801706f3b36585d89f578745f5852;hpb=d3e0654a57aa958aaef1906e4a759e521655a86b;p=csit.git 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 index 62b64be469..273ad53f25 100644 --- 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 @@ -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