Store ganesha logs and configs

Change-Id: I087286f66f21ba8960a948b8a6fcf4ea5261c6cf
This commit is contained in:
Dmitriy Rabotyagov 2020-01-21 20:27:27 +02:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 5c858bc528
commit acfd0f337e
3 changed files with 39 additions and 0 deletions

View File

@ -13,3 +13,16 @@
- --include=*/
- --exclude=*
- --prune-empty-dirs
- name: Copy ganesha config and logs
synchronize:
src: '{{ item.src }}'
dest: '{{ zuul.executor.log_root }}/{{ item.dest }}'
mode: pull
copy_links: true
verify_host: true
with_items:
- src: /etc/ganesha
dest: logs/etc/
- src: /var/log/ganesha
dest: logs/

View File

@ -13,3 +13,16 @@
- --include=*/
- --exclude=*
- --prune-empty-dirs
- name: Copy ganesha config and logs
synchronize:
src: '{{ item.src }}'
dest: '{{ zuul.executor.log_root }}/{{ item.dest }}'
mode: pull
copy_links: true
verify_host: true
with_items:
- src: /etc/ganesha
dest: logs/etc/
- src: /var/log/ganesha
dest: logs/

View File

@ -13,3 +13,16 @@
- --include=*/
- --exclude=*
- --prune-empty-dirs
- name: Copy ganesha config and logs
synchronize:
src: '{{ item.src }}'
dest: '{{ zuul.executor.log_root }}/{{ item.dest }}'
mode: pull
copy_links: true
verify_host: true
with_items:
- src: /etc/ganesha
dest: logs/etc/
- src: /var/log/ganesha
dest: logs/