-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Martin Fanning
committed
Apr 8, 2024
1 parent
2bdcc54
commit e61f566
Showing
18 changed files
with
126 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
|
||
collections: | ||
- merative.spm_middleware | ||
|
||
roles: | ||
- db2 | ||
|
||
vars: | ||
db2_version: "11.5.9.0" | ||
download_url: "{{ lookup('env', 'ARTIFACTORY_URL') }}/{{ lookup('env', 'ARTIFACTORY_REPO') }}/SoftwareInstallers" | ||
download_header: { 'X-JFrog-Art-Api': "{{ lookup('env', 'ARTIFACTORY_TOKEN') }}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
driver: | ||
name: docker | ||
provider: | ||
name: docker | ||
|
||
lint: | | ||
set -e | ||
yamllint . | ||
platforms: | ||
- name: rockylinux8 | ||
image: rockylinux:8 | ||
dockerfile: ../_resources/Dockerfile.j2 | ||
pre_build_image: false | ||
privileged: true | ||
volume_mounts: | ||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw" | ||
command: "/usr/sbin/init" | ||
environment: | ||
container: docker | ||
|
||
provisioner: | ||
name: ansible | ||
log: true | ||
config_options: | ||
defaults: | ||
stderr_callback: debug | ||
stdout_callback: debug | ||
env: | ||
ANSIBLE_FORCE_COLOR: 'true' | ||
playbooks: | ||
converge: ./converge.yml | ||
verify: ./verify.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
- name: Verify | ||
hosts: all | ||
pre_tasks: | ||
- stat: "path=/opt/Props/Bootstrap.properties" | ||
register: boot_props | ||
- command: "db2level" | ||
become: true | ||
become_user: "db2admin" | ||
become_method: sudo | ||
become_flags: "-i" | ||
register: db2level_cmd | ||
|
||
tasks: | ||
- name: Check that Bootstrap.properties exists | ||
assert: | ||
that: boot_props.stat.exists | ||
- name: Check that the db2level command is working | ||
assert: | ||
that: | ||
- db2level_cmd.rc == 0 | ||
- "'v11.5.9' in db2level_cmd.stdout" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
# paths can be relative to download_url or local | ||
db2_installer_path: DB2/11.5/v11.5.9_linuxx64_universal_fixpack.tar.gz | ||
db2_license_path: DB2/11.5/db2ese_u.lic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
ihs_installer_path: WAS/9.0.5ND | ||
ihs_installer_archive_list: | ||
- was.repo.90500.ihs.zip | ||
- was.repo.90500.plugins.zip | ||
- was.repo.90500.wct.zip | ||
|
||
ihs_fp_installer_path: WAS/9.0.5Fixpacks | ||
ihs_fp_installer_archive_list: | ||
- 9.0.5-WS-IHSPLG-FP019.zip | ||
- 9.0.5-WS-WCT-FP019.zip | ||
|
||
ihs_pid: v90_9.0.5019.20240304_1205 | ||
|
||
ihs_java_zip_path: Java/IBM/ibm-java-sdk-8.0-8.15-linux-x64-installmgr.zip | ||
ihs_java_pid: com.ibm.java.jdk.v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# FP Vars | ||
websphere_pid: v90_9.0.5019.20240304_1205 | ||
websphere_fp_path: WAS/9.0.5Fixpacks | ||
websphere_fp_archive_list: | ||
- 9.0.5-WS-WAS-FP019.zip | ||
|
||
# Base Vars | ||
websphere_base_pid: com.ibm.websphere.ND.v90 | ||
websphere_base_path: WAS/9.0.5ND | ||
websphere_base_archive_list: | ||
- was.repo.90500.nd.zip | ||
|
||
# Java Vars | ||
websphere_java_path: Java/IBM/ibm-java-sdk-8.0-8.15-linux-x64-installmgr.zip | ||
websphere_java_pid: com.ibm.java.jdk.v8 | ||
websphere_java_home: java/8.0 |