zun/playbooks/zun-tempest-base/post.yaml
Kien Nguyen 725d4c1e54 Add native Zuulv3 jobs
Do step 2: Reworking Legacy Jobs to be v3 Native

Depends-On: https://review.openstack.org/#/c/545724/
Change-Id: Ic86e9c13d3837728bf596779f940ce405ca15cd2
Implements: blueprint migrate-to-zuulv3
2018-06-28 21:46:31 +07:00

14 lines
440 B
YAML

- hosts: all
tasks:
- name: Ensure {{ ansible_user_dir }}/logs exists
become: True
file:
path: "{{ ansible_user_dir }}/logs"
state: directory
owner: "{{ ansible_user }}"
- name: Copy over docker systemd unit journals
shell:
cmd: |
sudo journalctl -o short-precise --unit docker | sudo tee {{ ansible_user_dir }}/logs/docker.txt > /dev/null
executable: /bin/bash