--- # # Tests common to Director/Controller/Compute/Ceph # - name: Get selinux mode command: getenforce changed_when: no register: sestatus - name: Check tuned running on host command: tuned-adm active register: tuned_result changed_when: no failed_when: tuned_result.rc == -1 ignore_errors: True - name: Check tuned for correct profile on host command: tuned-adm active register: tuned_profile_result changed_when: no failed_when: "'{{ tuned_profile }}' not in '{{ tuned_profile_result.stdout }}'" ignore_errors: True