/
deploy-satellite.yml
51 lines (46 loc) · 1.05 KB
/
deploy-satellite.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
---
- name: Deploy Satellite Infrastructure
hosts: localhost
connection: local
become: no
gather_facts: no
environment:
OS_USERNAME: "{{ openstack_user }}"
OS_PASSWORD: "{{ openstack_passwd }}"
OS_AUTH_URL: http://{{ openstack_ip }}:5000/v3
OS_PROJECT_NAME: "{{ openstack_project }}"
OS_USER_DOMAIN_NAME: Default
OS_PROJECT_DOMAIN_NAME: Default
OS_IDENTITY_API_VERSION: 3
tasks:
- import_role:
name: osp-stack-create
- import_role:
name: osp-inventory
tags: ['inventory']
- name: Perform base configuration of systems
hosts: master
become: true
gather_facts: true
tasks:
- import_role:
name: base
tags: ['base']
- import_role:
name: sat6-prep
tags: ['prep']
- name: Install Satellite 6
hosts: master
become: true
gather_facts: true
remote_user: "{{ ssh_user }}"
tasks:
- import_role:
name: sat6-install
tags: ['install']
- import_role:
name: sat6-configure
tags: ['configure']
- import_role:
name: sat6-post-configure
tags: ['post']