Skip to content

Improve logging#10

Merged
Nick-Andreano merged 7 commits intomainfrom
ImproveLogging
Jun 18, 2024
Merged

Improve logging#10
Nick-Andreano merged 7 commits intomainfrom
ImproveLogging

Conversation

@Nick-Andreano
Copy link
Copy Markdown
Contributor

No description provided.

ansible.builtin.fail:
msg: "missing or invalid iag_release"
when: iag_release == "UNDEFINED"
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
msg: "Deployer does not support installing Gateway version {{ iag_release }} on {{ ansible_distribution }} {{ ansible_distribution_major_version }}"

msg: "missing or invalid iag_release"
when: iag_release == "UNDEFINED"
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
when: valid_iag_release is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when: valid_iag_release is defined
when: invalid_iag_release is defined

Comment thread roles/gateway/tasks/main.yaml Outdated
ansible.builtin.fail:
msg: "missing or invalid iag_release"
when: iag_release == "UNDEFINED"
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
msg: "Deployer does not support installing Gateway version {{ iag_release }} on {{ ansible_distribution }} {{ ansible_distribution_major_version }}"

Comment thread roles/gateway/tasks/main.yaml Outdated
msg: "missing or invalid iag_release"
when: iag_release == "UNDEFINED"
msg: "Deployer installer does not support installing Gateway version {{iag_release}} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
when: valid_iag_release is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when: valid_iag_release is defined
when: invalid_iag_release is defined

# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
---
iag_release: UNDEFINED
valid_iag_release: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
valid_iag_release: false
invalid_iag_release: true

Comment thread roles/redis/tasks/download-packages.yml Outdated
Comment on lines +25 to +26
msg: "Deployer installer does not support installing Redis on IAP version {{ iap_release }}"
when: valid_redis_packages is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: "Deployer installer does not support installing Redis on IAP version {{ iap_release }}"
when: valid_redis_packages is defined
msg: "Deployer does not support installing Redis for IAP version {{ iap_release }}"
when: invalid_redis_release is defined

Comment thread roles/redis/tasks/main.yaml Outdated
Comment on lines +13 to +14
msg: "Deployer installer does not support installing Redis on IAP version {{ iap_release }}"
when: valid_redis_packages is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: "Deployer installer does not support installing Redis on IAP version {{ iap_release }}"
when: valid_redis_packages is defined
msg: "Deployer does not support installing Redis for IAP version {{ iap_release }}"
when: invalid_redis_release is defined

Comment thread roles/redis/vars/release-undefined.yaml Outdated
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
---
redis_packages: UNDEFINED
valid_redis_packages: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
valid_redis_packages: false
invalid_redis_release: true

msg: "missing or invalid mongodb_release_url"
when: mongodb_release_url == "UNDEFINED"
msg: "Deployer installer does not support installing MongoDB for IAP version {{ iap_release }} on {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}"
when: valid_mongodb_version is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when: valid_mongodb_version is defined
when: invalid_mongodb_release is defined

Comment thread roles/os/tasks/download-packages.yml Outdated
Comment on lines +30 to +31
msg: "Deployer installer does not support installing on OS version {{ ansible_distribution_major_version }}!"
when: valid_release_version is defined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: "Deployer installer does not support installing on OS version {{ ansible_distribution_major_version }}!"
when: valid_release_version is defined
msg: "Deployer installer does not support installing on {{ ansible_distribution }} {{ ansible_distribution_major_version }}"
when: invalid_os_release is defined

@Nick-Andreano Nick-Andreano merged commit 288ed08 into main Jun 18, 2024
@Nick-Andreano Nick-Andreano deleted the ImproveLogging branch June 18, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants