forked from rhos-infra/cloud-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
74 lines (57 loc) · 2.4 KB
/
main.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- name: Auto discover undercloud version
import_playbook: "{{ auto_discover_undercloud_version | default('version.yml') }}"
when: install.version is not defined
tags:
- always
- name: Fetch tempest deployer input file
import_playbook: post_tasks/tempest_deployer_input.yml
when: "'tempest_deployer_input' in install.tasks"
- name: Include task "External network creation"
import_playbook: post_tasks/create_external_network.yml
when: "'create_external_network' in install.tasks"
- name: Forward Overcloud Dashboard from Hypervisor
import_playbook: post_tasks/forward_overcloud_dashboard.yml
when:
- '"forward_overcloud_dashboard" in install.tasks'
- '"hypervisor" in groups'
- name: Include task "LBaas v2"
import_playbook: post_tasks/lbaas_v2.yml
when: "'lbaas_v2' in install.tasks"
- name: Include task "Octavia"
import_playbook: post_tasks/octavia.yml
when: "'octavia' in install.tasks"
- name: Include task "Compute SSH"
import_playbook: post_tasks/compute_ssh.yml
when: '"compute_ssh" in install.tasks'
- name: Include task "Scale down"
import_playbook: post_tasks/scale_down.yml
when: '"scale_down" in install.tasks'
- name: Include task "Scale up"
import_playbook: post_tasks/scale_up.yml
when: '"scale_up" in install.tasks'
- name: Include task "Add overcloud hosts"
import_playbook: post_tasks/add_overcloud_hosts.yml
when: '"add_overcloud_hosts" in install.tasks'
- name: Configure fencing
import_playbook: post_tasks/fencing.yml
when: '"fencing" in install.tasks'
- name: Configure instance high-availability
import_playbook: post_tasks/instance_ha.yml
when: '"instance_ha" in install.tasks'
- name: Setup libvirt debug log filters
import_playbook: post_tasks/libvirt_log_filters.yml
when: '"libvirt_log_filters" in install.tasks'
- name: Launch overcloud workload
import_playbook: post_tasks/launch_workload.yml
when: '"launch_workload" in install.tasks'
- name: Edit /etc/manila/manila.conf
import_playbook: post_tasks/manila.yml
when: '"manila" in install.tasks'
- name: Check and correct time diff after deployment on controllers
import_playbook: post_tasks/network_time.yml
when: '"network_time" in install.tasks'
- name: Check and correct time diff after deployment on controllers
import_playbook: post_tasks/replace_controller.yml
when: '"replace_controller" in install.tasks'
- name: Run workarounds
import_playbook: workarounds.yml