---
- name: Run dstat on the undercloud prior to undercloud install
  include_role:
    name: validate-perf
  when: step_install_undercloud|bool

- name: Install the undercloud
  shell: >
    set -o pipefail &&
    {{ working_dir }}/undercloud-install.sh 2>&1 {{ timestamper_cmd }} >
    {{ undercloud_install_log }}
  when: step_install_undercloud|bool
