-
Notifications
You must be signed in to change notification settings - Fork 3
/
install_oracle_restart_19c.vmware.yml
72 lines (62 loc) · 1.66 KB
/
install_oracle_restart_19c.vmware.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
---
# TODO
# r/o OH ?
# hugepages
# tuned-adm profile oracle
- hosts: all
collections:
- ibre5041.ansible_oracle_modules
become: yes
become_user: root
become_method: sudo
roles:
# - role: base_host_ec2
# tags: [ base, basehost ]
- role: base_oracle_vmware
tags: [ base, baseoracle ]
# included from oracle_restart_19c
#- role: oracle_asm_disks_ec2
# tags: [ oracle, oraclerestart, oracleasm ]
- role: oracle_restart_19c
oracle_gi_media: "grid_home_19_21.zip"
tags: [ oraclerestart ]
- role: oracle_db_home
oracle_db_media: "db_home_19_21.zip"
tags: [ oracle, oracledbhome ]
# - role: oracle.db.create.19c
# tags: [ oracle, oracledb ]
- role: oracle_post_install
tags: [ oraclepost ]
tasks:
- name: create database
oracle_db:
oracle_home: "{{ oracle_home }}"
db_name: 'TEST19C'
sid: 'TEST19C'
db_unique_name: 'TEST19C_1'
sys_password: X43ofljfksjfkhfr3fkh
#system_password:
#dbsnmp_password:
#template:
db_options:
JSERVER: False
ORACLE_TEXT: False
IMEDIA: False
CWMLITE: False
SPATIAL: False
OMS: False
APEX: False
DV: False
initparams:
memory_target: 0
memory_max_target: 0
sga_target: 1500MB
sga_max_size: 1500MB
storage_type: ASM
datafile_dest: +XDATA
recoveryfile_dest: +XDATA
#state: absent
state: present
tags: [oracledb]
become_user: "{{ oracle_os_user }}"
become: yes