Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
fecb45e11a
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  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