update install sw
This commit is contained in:
@@ -6,5 +6,5 @@
|
|||||||
roles:
|
roles:
|
||||||
- { role: configure-host-oel6, when: "ansible_distribution_major_version == '6'" }
|
- { role: configure-host-oel6, when: "ansible_distribution_major_version == '6'" }
|
||||||
- { role: configure-host-oel7, when: "ansible_distribution_major_version >= '7'" }
|
- { role: configure-host-oel7, when: "ansible_distribution_major_version >= '7'" }
|
||||||
# - install-oracle-sw
|
- install-oracle-sw
|
||||||
|
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
# configuration Linux : Utilisateurs et groupes
|
# configuration Linux : Utilisateurs et groupes
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
- include: users_configuration.yml
|
# - include: users_configuration.yml
|
||||||
when: install_grid_infra or install_database
|
# when: install_grid_infra or install_database
|
||||||
|
#
|
||||||
- include: install_grid_infra.yml
|
# - include: install_grid_infra.yml
|
||||||
when: install_grid_infra
|
# when: install_grid_infra
|
||||||
|
#
|
||||||
- include: install_database.yml
|
# - include: install_database.yml
|
||||||
when: install_database
|
# when: install_database
|
||||||
|
|
||||||
- include: scripts_exploitation.yml
|
- include: scripts_exploitation.yml
|
||||||
|
|||||||
@@ -27,16 +27,4 @@
|
|||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
tags: user
|
tags: user
|
||||||
|
|
||||||
# ---------------------------------------------------
|
|
||||||
# configuration Linux : config oracle pour logrotate
|
|
||||||
# ---------------------------------------------------
|
|
||||||
- name: Gestion des logs Oracle - copie du fichier de configuration pour logrotate
|
|
||||||
template: src=logrotate_oracle.j2 dest=/etc/logrotate.d/oracle mode=644 owner=root group=root
|
|
||||||
tags: logrotate
|
|
||||||
|
|
||||||
# ---------------------------------------------------
|
|
||||||
# copy du fichier oracledb dans /etc/init.d pour redémmarage auto
|
|
||||||
# ---------------------------------------------------
|
|
||||||
- name: Copy du fichier oracledb dans /etc/init.d pour redémmarage auto
|
|
||||||
template: src=oracledb_initd.j2 dest=/etc/init.d/oracledb mode=755 owner=root group=root
|
|
||||||
tags: init.d
|
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
# Set ORA_OWNER to the user id of the owner of the
|
# Set ORA_OWNER to the user id of the owner of the
|
||||||
# Oracle database in ORACLE_HOME.
|
# Oracle database in ORACLE_HOME.
|
||||||
|
|
||||||
ORA_HOME={{ db_home }}
|
ORA_HOME={{ oracle_home }}
|
||||||
ORACLE_HOME_LISTENER={{ db_home }}
|
ORACLE_HOME_LISTENER={{ oracle_home }}
|
||||||
ORA_OWNER={{ oracle_user }}
|
ORA_OWNER=oracle
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'start')
|
'start')
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
# dans cette section ne rien modifier sauf si besoin
|
# dans cette section ne rien modifier sauf si besoin
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
|
oracle_base: "/u01/app/oracle"
|
||||||
|
oracle_inventory: "/u01/app/oraInventory"
|
||||||
|
oracle_home: "/u01/app/oracle/product/19.0.0/dbhome_1"
|
||||||
oracle_stage: "/u01/sources"
|
oracle_stage: "/u01/sources"
|
||||||
|
|
||||||
# u01_free_space 4 Go pour l'install et 4 Go pour transfert et decompression des zip
|
# u01_free_space 4 Go pour l'install et 4 Go pour transfert et decompression des zip
|
||||||
|
|||||||
Reference in New Issue
Block a user