|
1 | | ---- |
2 | | - - name: Host configuration |
3 | | - hosts: vbox-rac-dc1 |
4 | | - user: vagrant |
5 | | - become: yes |
6 | | - roles: |
7 | | - - common |
8 | | - - orahost |
9 | 1 |
|
10 | | - - name: ssh configuration |
11 | | - hosts: vbox-rac-dc1 |
12 | | - user: vagrant |
13 | | - become: yes |
14 | | - serial: 1 |
15 | | - roles: |
16 | | - - {role: orahost-ssh, when: configure_cluster and not old_ssh_config} |
| 2 | +- name: Host configuration |
| 3 | + hosts: vbox-rac-dc1 |
| 4 | + user: vagrant |
| 5 | + become: yes |
| 6 | + roles: |
| 7 | + - common |
| 8 | + - orahost |
17 | 9 |
|
18 | | - - name: Storage Configuration |
19 | | - hosts: vbox-rac-dc1 |
20 | | - user: vagrant |
21 | | - become: yes |
22 | | - roles: |
23 | | - - orahost-storage |
| 10 | +- name: ssh configuration |
| 11 | + hosts: vbox-rac-dc1 |
| 12 | + user: vagrant |
| 13 | + become: yes |
| 14 | + serial: 1 |
| 15 | + roles: |
| 16 | + - {role: orahost-ssh, when: configure_cluster and not old_ssh_config} |
24 | 17 |
|
25 | | - - name: Oracle Grid Infrastructure installation |
26 | | - hosts: vbox-rac-dc1 |
27 | | - user: vagrant |
28 | | - become: yes |
29 | | - roles: |
30 | | - - oraswgi-install |
| 18 | +- name: Storage Configuration |
| 19 | + hosts: vbox-rac-dc1 |
| 20 | + user: vagrant |
| 21 | + become: yes |
| 22 | + roles: |
| 23 | + - orahost-storage |
31 | 24 |
|
32 | | - - name: ASM Configuration, Database Server Installation & Database Creation |
33 | | - hosts: vbox-rac-dc1 |
34 | | - user: vagrant |
35 | | - become: yes |
36 | | - roles: |
37 | | - - oraasm-createdg |
38 | | - - oraswdb-install |
39 | | - - oradb-manage-db |
| 25 | +- name: Oracle Grid Infrastructure installation |
| 26 | + hosts: vbox-rac-dc1 |
| 27 | + user: vagrant |
| 28 | + become: yes |
| 29 | + roles: |
| 30 | + - oraswgi-install |
40 | 31 |
|
41 | | - - name: Install cx_oracle |
42 | | - hosts: vbox-rac-dc1 |
43 | | - user: vagrant |
44 | | - become: yes |
45 | | - roles: |
46 | | - - cxoracle |
| 32 | +- name: Install cx_oracle |
| 33 | + hosts: vbox-rac-dc1 |
| 34 | + user: vagrant |
| 35 | + become: yes |
| 36 | + roles: |
| 37 | + - cxoracle |
47 | 38 |
|
48 | | - - name: Configure Logrotate |
49 | | - hosts: vbox-rac-dc1 |
50 | | - user: vagrant |
51 | | - become: yes |
52 | | - roles: |
53 | | - - orahost-logrotate |
| 39 | +- name: ASM Diskgroup configuration |
| 40 | + hosts: vbox-rac-dc1 |
| 41 | + user: vagrant |
| 42 | + become: yes |
| 43 | + roles: |
| 44 | + - {role: oraasm-createdg, when: old_diskgroup_config} |
| 45 | + - {role: oraasm-manage-diskgroups, when: not old_diskgroup_config} |
54 | 46 |
|
55 | 47 |
|
| 48 | +- name: Database Server Installation & Database Creation |
| 49 | + hosts: vbox-rac-dc1 |
| 50 | + user: vagrant |
| 51 | + become: yes |
| 52 | + roles: |
| 53 | + - oraswdb-install |
| 54 | + - oradb-manage-db |
56 | 55 |
|
57 | | - - name: Customize database |
58 | | - hosts: vbox-rac-dc1 |
59 | | - user: vagrant |
60 | | - sudo: yes |
61 | | - roles: |
62 | | - - oradb-manage-pdb |
63 | | - - oradb-manage-tablespace |
64 | | - - oradb-manage-parameters |
65 | | - - oradb-manage-services |
66 | | - - oradb-manage-roles |
67 | | - - oradb-manage-users |
68 | | - - oradb-manage-grants |
| 56 | +- name: Configure Logrotate |
| 57 | + hosts: vbox-rac-dc1 |
| 58 | + user: vagrant |
| 59 | + become: yes |
| 60 | + roles: |
| 61 | + - orahost-logrotate |
| 62 | + |
| 63 | +- name: Customize database |
| 64 | + hosts: vbox-rac-dc1 |
| 65 | + user: vagrant |
| 66 | + sudo: yes |
| 67 | + roles: |
| 68 | + - oradb-manage-pdb |
| 69 | + - oradb-manage-tablespace |
| 70 | + - oradb-manage-parameters |
| 71 | + - oradb-manage-services |
| 72 | + - oradb-manage-roles |
| 73 | + - oradb-manage-users |
| 74 | + - oradb-manage-grants |
69 | 75 |
|
0 commit comments