--- - name: Install phoronix-test-suite become: yes package: name: phoronix-test-suite - name: Create config directory file: path: "{{ ansible_env.HOME }}/.phoronix-test-suite" state: directory mode: 0755 - name: Install config copy: src: user-config.xml dest: "{{ ansible_env.HOME }}/.phoronix-test-suite/user-config.xml" mode: 0644 - name: Ensure test results are cleaned file: path: "{{ ansible_env.HOME }}/test-results" state: absent - name: Create result directory file: path: "{{ ansible_env.HOME }}/test-results/" state: directory mode: 0755