7325aca987
Change-Id: I8cbb919c39bdb099eaec076c7bcf2ea0b84a6475
29 lines
613 B
YAML
29 lines
613 B
YAML
---
|
|
- 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
|