-
Notifications
You must be signed in to change notification settings - Fork 0
/
commons.yml
29 lines (27 loc) · 1.26 KB
/
commons.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
---
- name: "Common roles to deploy servers"
hosts: all
become: yes
roles:
- { role: common, tags: ['role_common']}
- { role: image, tags: ['role_image']}
- { role: network, tags: ['role_network']}
- { role: subnet, tags: ['role_subnet']}
- { role: router, tags: ['role_router']}
- { role: rbac, tags: ['role_rbac']}
- { role: flavor, tags: ['role_flavor']}
- { role: ssh_key, tags: ['role_ssh_key']}
- { role: security_groups, tags: ['role_security_groups']}
- { role: volume, tags: ['role_volume']}
- { role: port, tags: ['role_port']}
- { role: floating_ip, tags: ['role_floating_ip']}
- { role: server, tags: ['role_server']}
- { role: tools, tags: ['role_tools']}
environment:
OS_USERNAME: "{{ group_vars.openstack.auth.env.OS_USERNAME }}"
OS_PASSWORD: "{{ group_vars.openstack.auth.env.OS_PASSWORD }}"
OS_PROJECT_NAME: "{{ group_vars.openstack.auth.env.OS_PROJECT_NAME }}"
OS_USER_DOMAIN_NAME: "{{ group_vars.openstack.auth.env.OS_USER_DOMAIN_NAME }}"
OS_PROJECT_DOMAIN_NAME: "{{ group_vars.openstack.auth.env.OS_PROJECT_DOMAIN_NAME }}"
OS_AUTH_URL: "{{ group_vars.openstack.auth.env.OS_AUTH_URL }}"
OS_IDENTITY_API_VERSION: "{{ group_vars.openstack.auth.env.OS_IDENTITY_API_VERSION }}"