Revert "Save registry logs"
This reverts commit f49bf96c320d71b9b966808fdc71abe86c93e045. This has an error: The task includes an option with an undefined variable. The error was: 'ansible_user_dir' is undefined Change-Id: I679499751aec72922ea5063350f446f13579776c
This commit is contained in:
parent
f49bf96c32
commit
edfdedbcec
@ -1,16 +1,3 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- push-to-intermediate-registry
|
||||
tasks:
|
||||
- name: Create container log dir
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs/docker"
|
||||
state: directory
|
||||
|
||||
- name: Save registry container logs
|
||||
loop:
|
||||
- buildset_proxy
|
||||
- buildset_registry
|
||||
shell: "docker logs {{ item }} &> {{ ansible_user_dir }}/zuul-output/logs/docker/{{item}}.txt"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user