Skip to content

Commit

Permalink
Changed default value of oneagent_force_cert_download (#64)
Browse files Browse the repository at this point in the history
* Changed default value of oneagent_force_cert_download

* Bump version to 1.2.3
  • Loading branch information
mkrasu authored Feb 3, 2025
1 parent 1f71c5b commit 08bc7b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file.

## [1.2.3] - 2025-02-03
- Fixed issue with skipping CA certificate transfer task

## [1.2.2] - 2025-10-1
- Fixed linters issues

Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: dynatrace
name: oneagent
version: 1.2.2
version: 1.2.3
readme: README.md
authors:
- Dynatrace LLC
Expand Down
4 changes: 2 additions & 2 deletions roles/oneagent/tasks/provide-installer/signature-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
src: "{{ oneagent_ca_cert_src_path }}"
dest: "{{ oneagent_ca_cert_dest_path }}"
mode: "0644"
when: not (oneagent_force_cert_download | default(true)) and _oneagent_ca_cert_state.stat.exists
when: not (oneagent_force_cert_download | default(false)) and _oneagent_ca_cert_state.stat.exists

- name: Download CA certificate
ansible.builtin.get_url:
Expand All @@ -20,7 +20,7 @@
validate_certs: "{{ oneagent_validate_certs | default(true) }}"
environment:
SSL_CERT_FILE: "{{ oneagent_ca_cert_download_cert | default(omit) }}"
when: oneagent_force_cert_download | default(true) or not _oneagent_ca_cert_state.stat.exists
when: oneagent_force_cert_download | default(false) or not _oneagent_ca_cert_state.stat.exists
changed_when: false

- name: Validate installer signature
Expand Down
2 changes: 1 addition & 1 deletion roles/oneagent/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
oneagent_script_version: 1.2.2
oneagent_script_version: 1.2.3
oneagent_minimal_install_version: "1.199"
oneagent_minimal_reporting_version: "1.203"

Expand Down

0 comments on commit 08bc7b4

Please sign in to comment.