forked from oravirt/ansible-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vbox-rac-dc1.yml
83 lines (72 loc) · 1.63 KB
/
vbox-rac-dc1.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
83
- name: Host configuration
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- common
- orahost
- name: ssh configuration
hosts: vbox-rac-dc1
user: vagrant
become: yes
serial: 1
roles:
- {role: orahost-ssh, when: configure_cluster and not old_ssh_config}
- name: Storage Configuration
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- orahost-storage
- name: Oracle Grid Infrastructure installation
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- oraswgi-install
- name: Install cx_oracle
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- cxoracle
- name: ASM Diskgroup configuration
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- {role: oraasm-createdg, when: old_diskgroup_config}
- {role: oraasm-manage-diskgroups, when: not old_diskgroup_config}
- name: Database Server Installation & Database Creation
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- oraswdb-install
- {role: oraswdb-manage-patches, when: apply_patches_db}
- oradb-manage-db
- name: Configure Logrotate
hosts: vbox-rac-dc1
user: vagrant
become: yes
roles:
- orahost-logrotate
- name: Customize database
hosts: vbox-rac-dc1
user: vagrant
sudo: yes
roles:
- oradb-manage-pdb
- oradb-manage-tablespace
- oradb-manage-parameters
- oradb-manage-redo
- oradb-manage-roles
- oradb-manage-users
- oradb-manage-grants
- oradb-manage-services
- name: Run Datapatch
hosts: vbox-si-rac-dc1
user: vagrant
become: yes
roles:
- {role: oradb-datapatch, when: apply_patches_db}