-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsite.yml
More file actions
33 lines (28 loc) · 893 Bytes
/
site.yml
File metadata and controls
33 lines (28 loc) · 893 Bytes
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
#
# Complete cluster setup
#
---
#
# Set up the apt cache server.
#
- include: playbooks/cacher.yml
#
# The cache server may have been rebooted. Therefore, we need to wait
# until it is up before we do anything else. We wait from the cluster
# hosts (since we might use private IP addresses), rather than from
# localhost. Therefore, we must make sure to exclude the cache machine
# itself, since that one is probably not done rebooting at this point.
#
- name: waiting for caches to come online
hosts: all-hosts:!apt-pip-cache
gather_facts: False
tasks:
- include: playbooks/tasks/wait_for_cache_servers_create.yml
when: CACHE.pkg_cache == "create"
- include: playbooks/tasks/wait_for_cache_servers_use.yml
when: CACHE.pkg_cache == "use"
#
# Functional setup of cluster servers.
#
- include: playbooks/common.yml
- include: playbooks/devstack_installation.yml