aboutsummaryrefslogtreecommitdiff
path: root/tests/pre.yml
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-02-07 13:10:55 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-03-01 09:57:35 +0100
commit29e4ef1374eef09545e0df1494f460bfbef93dfc (patch)
tree76e9bac07dabb98212db831ef0db729b134bd754 /tests/pre.yml
parent6da1b9d563ab512cda1f0169ef025e5e0f9ec594 (diff)
downloadkolla-ansible-29e4ef1374eef09545e0df1494f460bfbef93dfc.tar.gz
kolla-ansible-29e4ef1374eef09545e0df1494f460bfbef93dfc.zip
CI: Debug init-runonce
Also adds gawk for timestamping. This helps to correlate init events with failures elsewhere. Change-Id: I22fdb683ecf9870b2d66fedd6b40b7004317130a
Diffstat (limited to 'tests/pre.yml')
-rw-r--r--tests/pre.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pre.yml b/tests/pre.yml
index 688ba1aab..3f7802226 100644
--- a/tests/pre.yml
+++ b/tests/pre.yml
@@ -23,6 +23,13 @@
vxlan_interface_name: "{{ neutron_external_interface_name }}"
vxlan_vni: 10001
tasks:
+ # NOTE(yoctozepto): we use gawk to add time to each logged line
+ # outside of Ansible (e.g. for init-runonce)
+ - name: Install gawk
+ package:
+ name: gawk
+ become: true
+
- name: Ensure /tmp/logs/ dir
file:
path: "{{ logs_dir }}"