diff --git a/changelogs/fragments/188-sops-3.9.0.yml b/changelogs/fragments/188-sops-3.9.0.yml new file mode 100644 index 0000000..adca0a9 --- /dev/null +++ b/changelogs/fragments/188-sops-3.9.0.yml @@ -0,0 +1,2 @@ +bugfixes: + - "Fix RPM URL for the 3.9.0 release (https://github.com/ansible-collections/community.sops/pull/188)." diff --git a/roles/install/vars/OS-RedHat.yml b/roles/install/vars/OS-RedHat.yml index e06c628..0e7f213 100644 --- a/roles/install/vars/OS-RedHat.yml +++ b/roles/install/vars/OS-RedHat.yml @@ -24,7 +24,10 @@ _community_sops_install_system_packages_unsigned_github: }}{{ _community_sops_install_effective_sops_version.replace('-', '.') }}{{ - (_community_sops_install_effective_sops_version is version('3.8.0', '<')) | ternary('-1', '') + ( + _community_sops_install_effective_sops_version is version('3.8.0', '<') or + _community_sops_install_effective_sops_version is version('3.9.0', '>=') + ) | ternary('-1', '') }}.{{ ansible_facts.architecture }}.rpm