diff options
| author | Zuul <zuul@review.opendev.org> | 2022-03-03 16:35:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2022-03-03 16:35:34 +0000 |
| commit | 9a1bd06098f23a4ea771a3b8d14b9c11c3050786 (patch) | |
| tree | 91bb6fce3caf53ea19a60ef8c43e5abc11d9dedf /tests/pre.yml | |
| parent | 44517dd7b76baf14a449320b0dafefecf45a40a8 (diff) | |
| parent | e6edec78e58afe89150adef8decd587db1b7e18e (diff) | |
| download | kolla-ansible-9a1bd06098f23a4ea771a3b8d14b9c11c3050786.tar.gz kolla-ansible-9a1bd06098f23a4ea771a3b8d14b9c11c3050786.zip | |
Merge "[CI] Collect info about environment before deploy"
Diffstat (limited to 'tests/pre.yml')
| -rw-r--r-- | tests/pre.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/pre.yml b/tests/pre.yml index 372074edd..7bbd5ae55 100644 --- a/tests/pre.yml +++ b/tests/pre.yml @@ -56,6 +56,24 @@ path: "{{ logs_dir }}" state: "directory" + - name: Ensure /tmp/logs/pre dir + file: + path: "{{ logs_dir }}/pre" + state: "directory" + + - name: Run diagnostics script + environment: + LOG_DIR: "{{ logs_dir }}/pre" + KOLLA_INTERNAL_VIP_ADDRESS: "{{ kolla_internal_vip_address }}" + script: get_logs.sh + register: get_logs_result + become: true + failed_when: false + + - name: Print get_logs output + debug: + msg: "{{ get_logs_result.stdout }}" + - name: Ensure node directories file: path: "{{ logs_dir }}/{{ item }}" |
