--- - name: install packages package: name: "{{ item }}" state: latest with_items: - tuned - tuned-utils - name: start service service: name: tuned enabled: yes state: started #- include_tasks: deb.yml # when: ansible_distribution in ["Debian", "Ubuntu"] #- include_tasks: el.yml # when: ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora"] and not is_atomic