-
Notifications
You must be signed in to change notification settings - Fork 16
/
introspect.yml
36 lines (33 loc) · 1.57 KB
/
introspect.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
- hosts: localhost
tasks:
- name: hybrid deployment params
set_fact:
hybrid_params: " --specific-node-ids true --hybrid {{ overcloud_instackenv_path }} --vbmc-host hypervisor"
when: scale_compute_vms == true
- name: set instackenv_file
set_fact:
custom_instackenv: " --instackenv-file {{ overcloud_instackenv_path }} "
when: hybrid_params is not defined
- block:
- name: run tripleo-overcloud introspection
shell: |
source .venv/bin/activate
infrared tripleo-overcloud -vvv --version {{ osp_release }} {{ custom_instackenv | default('') }} --deployment-files {{ nic_configs }} --introspect yes {{ hybrid_params | default('') }} > {{ log_directory }}/overcloud_introspect.log 2>&1
args:
chdir: "{{ infrared_dir }}"
changed_when: false
async: "{{ introspection_timeout | default(2400) }}"
poll: 60
ignore_errors: true
when: scale_compute_vms == false
- block:
- name: run tripleo-overcloud introspection
shell: |
source .venv/bin/activate
infrared tripleo-overcloud -vvv --version {{ osp_release }} {{ custom_instackenv | default('') }} --deployment-files {{ nic_configs }} --introspect yes {{ hybrid_params | default('') }} > {{ log_directory }}/overcloud_introspect.log 2>&1
args:
chdir: "{{ infrared_dir }}"
changed_when: false
ignore_errors: true
when: scale_compute_vms == true