blob: 13071c3124d4df80cacc05f6f9b475fecab49b14 [file] [log] [blame]
Michal Zegane4659122019-08-22 14:58:40 +02001---
2#Installation of onap on open stack driven by ansible.
3#Default parameters are set in group_vars/*.yml.
4#Inventory is in hosts.yml, and parameters specific to instances are set there.
5#Deploy infrastructure.
6- name: "deploy infrastructure"
7 hosts: localhost
8 gather_facts: false
9 roles:
10 - role: setup_openstack_infrastructure
11 vars:
12 mode: deploy
13#Play that configures all instances.
14- name: "Instance configuration"
15 hosts: instances
16 any_errors_fatal: true
17 roles:
18 - role: setup_openstack_infrastructure
19 vars:
20 mode: configure
21 - role: configure_instances
22#Play that downloads sw resources.
23- name: "Download resources"
24 hosts: resources
25 gather_facts: false
26 roles:
27 - role: install
28 vars:
29 mode: download_resources
30#Perform installation.
31- name: "Perform installation"
32 hosts: installer
33 roles:
34 - role: install
35 vars:
36 mode: install