25 lines
642 B
YAML
25 lines
642 B
YAML
---
|
|
|
|
- hosts: all
|
|
tasks:
|
|
- name: Clean up the vault key
|
|
command: "shred -u {{ vault_key_path }}"
|
|
args:
|
|
removes: "{{ vault_key_path }}"
|
|
- name: Run the log collection script
|
|
shell: |
|
|
set -x
|
|
source scripts/scripts-library.sh
|
|
gate_job_exit_tasks
|
|
become: yes
|
|
become_user: root
|
|
args:
|
|
chdir: "{{ lsn_ci_src_path }}/openstack-ansible"
|
|
executable: /bin/bash
|
|
environment:
|
|
GATE_EXIT_LOG_COPY: true
|
|
GATE_LOG_DIR: "{{ lsn_ci_src_path }}/logs"
|
|
register: test_gate_job_exit
|
|
- debug:
|
|
msg: "{{ test_gate_job_exit.stdout }}"
|