Browse code

Actually generate pip freeze outputs

the shell script used is actually being run thru 'sh', not bash,
which does not understand "[[" test operators.

Explicitly run this script with /bin/bash instead.

Change-Id: I551d2631bcb6aef49550d69b3830ffcb509abfb7

Pavlo Shchelokovskyy authored on 2018/02/27 01:36:54
Showing 1 changed files
... ...
@@ -1,6 +1,7 @@
1 1
 # TODO(andreaf) Make this into proper Ansible
2 2
 - name: Stage various logs and reports
3 3
   shell:
4
+    executable: /bin/bash
4 5
     cmd: |
5 6
       sudo iptables-save > {{ stage_dir }}/iptables.txt
6 7
       df -h > {{ stage_dir }}/df.txt