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=f239890989e56897d7d188ba5e18adf8932a5a5c;hb=refs%2Fchanges%2F22%2F26922%2F4;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..f239890989 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,17 @@ --- # 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 + service: + name: "tmp.mount" + enabled: yes + tags: + - machine-optimizations