-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_oracle_crs_19c.yml
70 lines (62 loc) · 1.69 KB
/
install_oracle_crs_19c.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
---
# TODO: setcap cap_net_raw+ep /usr/bin/ping (on Centos8)
- hosts: all
collections:
- ibre5041.ansible_oracle_modules
become: yes
become_user: root
become_method: sudo
vars:
oracle_db_ver_path: 19.21.0.0
any_errors_fatal: true
roles:
- role: default_vars_only
tags: [always,default_vars_only]
- role: base_oracle_vmware
tags: [ base, baseoracle ]
when: is_vmware_environment
- role: base_oracle_vbox
tags: [ base, baseoracle ]
when: is_vbox_environment
- role: oracle_crs_19c
oracle_gi_media: grid_home_19_21.zip
tags: [ oracle, oraclecrs ]
- role: oracle_db_home
oracle_db_media: db_home_19_21.zip
tags: [ oracle, oracledbhome ]
- role: oracle_post_install
tags: [ oraclepost ]
tasks:
- name: create database
oracle_db:
oracle_home: "{{ oracle_install_dir_prod }}/{{ oracle_db_ver_path }}"
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
when: ansible_hostname == first_rac_node