-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate-openstack-on-openstack.yml
82 lines (81 loc) · 2.24 KB
/
create-openstack-on-openstack.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
75
76
77
78
79
80
81
82
- name: OpenStack infrastructure
hosts:
- localhost
vars:
state: present
tasks:
roles:
- role: 010-keystone-project
new_state: "{{ state }}"
- role: 015-keystone-role
new_state: "{{ state }}"
- role: 020-openstack-quota
new_state: "{{ state }}"
- role: 025-ospd-floatingip-create
new_state: "{{ state }}"
- role: 030-neutron-networks
new_state: "{{ state }}"
- role: 035-neutron-subnets
new_state: "{{ state }}"
- role: 040-neutron-ports
new_state: "{{ state }}"
- role: 045-disable-portsec
- role: 050-nova-flavors
new_state: "{{ state }}"
- role: 052-nova-flavors-access
- role: 053-temp-files
- role: 055-glance-images
new_state: "{{ state }}"
- role: 058-nova-secgroup-rules
new_state: "{{ state }}"
- role: 059-server-groups
new_state: "{{ state }}"
- role: 060-nova-instances
new_state: "{{ state }}"
- role: 070-update-inventory
new_state: "{{ state }}"
- role: 075-ospd-floatingip
new_state: "{{ state }}"
# - role: 095-nova-stop
- role: 160-instack-json
new_state: "{{ state }}"
- role: 185-cacert-import
new_state: "{{ state }}"
- role: 190-bastion-ports
new_state: "{{ state }}"
- role: 195-bastion-networking
new_state: "{{ state }}"
# - role: 200-bastion-hosts
- name: OpenStack undercloud
hosts:
- ospd
vars:
state: present
tasks:
roles:
- role: 079-yum-repos
new_state: "{{ state }}"
# - role: 080-subscription-manager
# new_state: "{{ state }}"
- role: 090-yum-update
- role: 100-yum-install
new_state: "{{ state }}"
- role: 110-stack-user
new_state: "{{ state }}"
- role: 120-undercloud-config
new_state: "{{ state }}"
- role: 130-undercloud-install
new_state: "{{ state }}"
- role: 140-overcloud-images
new_state: "{{ state }}"
- role: 145-overcloud-flavor-update
- role: 150-ironic-config
new_state: "{{ state }}"
- role: 170-instack-copy
new_state: "{{ state }}"
- role: 180-ospd-networking
- role: 185-cacert-import
new_state: "{{ state }}"
- role: 187-ospd-nat
- role: 270-local-templates-copy
- role: 280-deploy-script