Repository navigation
Expand file tree
/
Copy pathbuild-devstack.yaml
More file actions
68 lines (55 loc) · 2.18 KB
/
Copy pathbuild-devstack.yaml
File metadata and controls
68 lines (55 loc) · 2.18 KB
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
---
- hosts: devstack
vars_files:
- zuul-params.yaml
tasks:
- name: Include variables from job_vars/{{ zuul_project | basename }}.yaml
include_vars: "job_vars/{{ zuul_project | basename }}.yaml"
failed_when: False
tags: always
- name: Include variables from job_vars/{{ zuul_project | basename }}-{{ job_type }}.yaml
include_vars: "job_vars/{{ zuul_project | basename }}-{{ job_type }}.yaml"
when: job_type is defined
failed_when: False
tags: always
- name: Set persistent saving for journald
ini_file:
path: /etc/systemd/journald.conf
section: Journal
option: Storage
value: persistent
become: True
tags: journald-log
- name: Restart systemd-journald service
service:
name: systemd-journald
state: restarted
become: True
tags: journald-log
- include: tasks/devstack/run-unstack.yaml
- include: tasks/devstack/install-apt-packages.yaml
- include: tasks/devstack/install-apt-latest-packages.yaml
- include: tasks/devstack/remove-apt-packages.yaml
#- include: tasks/devstack/install-pip.yaml
- include: tasks/devstack/configure-pip-index.yaml
- include: tasks/devstack/install-python-packages.yaml
- include: tasks/devstack/find-data-port.yaml
# - include: tasks/devstack/configure-ovs.yaml
- include: tasks/devstack/install-zuul.yaml
- include: tasks/devstack/prepare-git-repos.yaml
- include: tasks/devstack/upper-constraints-mods.yaml
with_items: "{{ upper_constraints_pinning }}"
when: upper_constraints_pinning is defined
- name: Applying cherry-picks
cb_cherry_pick_devstack:
url: "{{ git_server + '/' + item.project if ( item.url | default('') | length == 0 ) else item.url }}"
ref: "{{ item.patches }}"
path: "{{ item.path }}"
with_items: "{{ cherry_picks }}"
when: cherry_picks is defined
become: True
tags: cherry-pick
- include: tasks/devstack/install-networking-hyperv.yaml
when: network_type is defined and network_type == "hyperv"
- include: tasks/devstack/write-configs.yaml
- include: tasks/devstack/run-stack.yaml