Pārlūkot izejas kodu

PARP: Store ansible log file separately

This would make PARP upload a separate ansible log file, as it might be
cutoff if test output reaches few MBs
Vadim Rutkovsky 7 gadi atpakaļ
vecāks
revīzija
fecb45e11a
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 3 0
      .papr.sh
  2. 1 0
      .papr.yml

+ 3 - 0
.papr.sh

@@ -32,6 +32,9 @@ upload_journals() {
 
 trap upload_journals ERR
 
+# Store ansible log separately
+export ANSIBLE_LOG_PATH=ansible.log
+
 # run the actual installer
 ansible-playbook -v -i .papr.inventory playbooks/deploy_cluster.yml
 

+ 1 - 0
.papr.yml

@@ -40,3 +40,4 @@ tests:
 
 artifacts:
   - journals/
+  - ansible.log