2018-09-13 16:38:28 -06:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: Ensure {{ ansible_user_dir }}/logs exists
|
|
|
|
become: true
|
|
|
|
file:
|
|
|
|
path: "{{ ansible_user_dir }}/logs"
|
|
|
|
state: directory
|
|
|
|
owner: "{{ ansible_user }}"
|
2018-11-21 13:59:45 +00:00
|
|
|
- name: start placement
|
|
|
|
args:
|
2019-04-19 19:41:22 +00:00
|
|
|
chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/placement"
|
2018-11-21 13:59:45 +00:00
|
|
|
shell:
|
|
|
|
executable: /bin/bash
|
2019-06-20 12:32:35 +01:00
|
|
|
cmd: gate/perfload-server.sh {{ ansible_user_dir }}
|
2018-09-13 16:38:28 -06:00
|
|
|
- name: placement performance
|
2018-11-21 13:59:45 +00:00
|
|
|
args:
|
2019-04-19 19:41:22 +00:00
|
|
|
chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/placement"
|
2018-09-13 16:38:28 -06:00
|
|
|
shell:
|
|
|
|
executable: /bin/bash
|
2019-06-20 12:32:35 +01:00
|
|
|
cmd: gate/perfload-runner.sh {{ ansible_user_dir }}
|