diff --git a/ansible/group_vars/server_type_onr_db_test.yml b/ansible/group_vars/server_type_onr_db_test.yml new file mode 100644 index 000000000..fe3983bb5 --- /dev/null +++ b/ansible/group_vars/server_type_onr_db_test.yml @@ -0,0 +1,72 @@ +--- +ansible_python_interpreter: /usr/bin/python3.9 + +users_and_groups_system: + - name: oracle + group: oinstall + groups: + - dba + - wheel + +roles_list: + - users-and-groups + - sudoers + - get-ec2-facts + - set-ec2-hostname + - domain-search + - disable-ipv6 + - disable-firewall + - time + - packages + - message-of-the-day + - amazon-ssm-agent + - amazon-cli + - ansible-script + - epel + - disks + - azcopy + - oracle-19c + - oracle-secure-backup + - oracle-db-backup + - oracle-db-housekeeping + # - collectd # don't need all the monitoring for testing + # - amazon-cloudwatch-agent + # - amazon-cloudwatch-agent-collectd + # - collectd-service-metrics + # - collectd-oracle-db-connected + # - collectd-textfile-monitoring + +packages_yum_install: + - zip-3.0-23.el8 + - git + - tar + +# Storage: volumes, partitioning and mounting +disks_partition: + - ebs_device_name: /dev/sde + oracle_group: data + oracle_label: DATA01 + - ebs_device_name: /dev/sdj + oracle_group: flash + oracle_label: FLASH01 + +disks_mount: + - ebs_device_name: /dev/sdb + dir: /u01 + fstype: xfs + - ebs_device_name: /dev/sdc + dir: /u02 + fstype: xfs + - ebs_device_name: /dev/sds + dir: swap + fstype: swap + +# Oracle common variables +oracle_install_user: oracle +oracle_install_group: oinstall +oracle_inventory: /u01/app/oraInventory +database_home: /u01/app/oracle/product/19c/db_1 +grid_home: /u01/app/oracle/product/19c/gridhome_1 +# NOTE: copied from ansible/group_vars/server_type_ncr_db.yml + +# tns_entries: diff --git a/ansible/roles/oracle-12c-client/tasks/install_client.yml b/ansible/roles/oracle-12c-client/tasks/install_client.yml index 5ad6b7164..c79603cf9 100644 --- a/ansible/roles/oracle-12c-client/tasks/install_client.yml +++ b/ansible/roles/oracle-12c-client/tasks/install_client.yml @@ -53,11 +53,11 @@ ansible.builtin.shell: | set -eo pipefail main() { - {{ oracle_home }}/client/runInstaller -silent -debug -waitforcompletion -ignorePrereqFailure -logLevel fine -responseFile {{ stage }}/{{ client_response_file }} + {{ oracle_home }}/client/runInstaller -silent -waitforcompletion -ignoreSysPrereqs -responseFile {{ stage }}/{{ client_response_file }} } main 2>&1 | logger -p local3.info -t ansible-oracle-client become_user: oracle - async: 2400 + async: 4800 poll: 30 ignore_errors: true # ignore errors as the installation may return SUCCESS_WITH_ERRORS which is not a failure but the installer return code is non-zero