metalsmith/playbooks/integration/post.yaml
jacky06 2eed13885a Add the "---" into ansible yaml file
Change-Id: If4e684da58bffbe25d5bbed4dd4c56d0b5345114
Story: #2003783
Task: #26488
2018-09-16 01:41:07 -04:00

16 lines
371 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