Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nomis: DSOS-2466: minor fix to nomis-weblogic role to better support check mode #456

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
loop_control:
label: "{{ item.item.item }}"
loop: "{{ release_status_shell.results|default([]) }}"
when: item.stdout|int != 0
when: item.stdout|default('0')|int != 0

- name: Download nomis release zip from S3
become_user: oracle
Expand All @@ -91,6 +91,7 @@
mode: get
permission: "public-read"
overwrite: latest
check_mode: true
loop: "{{ download_release|default([]) }}"

- name: Extract release zip
Expand All @@ -101,6 +102,7 @@
dest: "/u01/releases"
remote_src: true
keep_newer: true
check_mode: true
loop: "{{ download_release|default([]) }}"

- name: Extract release tar
Expand All @@ -111,6 +113,7 @@
dest: "/u01/releases"
remote_src: true
keep_newer: true
check_mode: true
loop: "{{ download_release|default([]) }}"

- name: Check if release contains FormsSources, Static, Reports files
Expand Down Expand Up @@ -141,7 +144,7 @@
}
main 2>&1 | logger -p local3.info -t ansible-weblogic
register: deploy_shell
loop: "{{ apply_release }}"
loop: "{{ apply_release|default([]) }}"

always:
- name: Update /home/oracle/tag_release_detail to record deployed releases
Expand Down
Loading