Dmitry Tantsur 71320f7a08 CI: Update ironic devstack variables
* Bring VM RAM to the recommended minimum of CentOS
* Publish bare metal machine logs

Change-Id: Ic5b368875196e15d6215e82dfdcf5a0b02da925b
2018-05-25 08:02:02 +02:00

15 lines
367 B
YAML

- hosts: all
tasks:
- name: Check that VM logs exist
stat:
path: '{{ ironic_bm_logs }}'
register: bm_logs_result
- name: Copy VM logs
synchronize:
src: '{{ ironic_bm_logs }}'
dest: '{{ zuul.executor.log_root }}/{{ inventory_hostname }}'
mode: pull
become: true
when: bm_logs_result.stat.exists