diff --git a/roles/install/vars/OS-Debian.yml b/roles/install/vars/OS-Debian.yml index bfca6fd..64e23f2 100644 --- a/roles/install/vars/OS-Debian.yml +++ b/roles/install/vars/OS-Debian.yml @@ -19,7 +19,7 @@ _community_sops_install_system_package_deb_github: >- https://github.com/getsops/sops/releases/download/v{{ _community_sops_install_effective_sops_version }}/sops_{{ - _community_sops_install_effective_sops_version + _community_sops_install_effective_sops_version.replace('-', '.') }}_{{ _community_sops_install_arch_transform.get(ansible_facts.architecture, ansible_facts.architecture) }}.deb diff --git a/roles/install/vars/OS-RedHat.yml b/roles/install/vars/OS-RedHat.yml index 2b6757e..c3accf3 100644 --- a/roles/install/vars/OS-RedHat.yml +++ b/roles/install/vars/OS-RedHat.yml @@ -22,8 +22,10 @@ _community_sops_install_system_packages_unsigned_github: }}/sops-{{ (_community_sops_install_effective_sops_version is version('3.6.0', '<')) | ternary('v', '') }}{{ - _community_sops_install_effective_sops_version - }}-1.{{ + _community_sops_install_effective_sops_version.replace('-', '.') + }}{{ + (_community_sops_install_effective_sops_version is version('3.8.0-a', '<')) | ternary('-1', '') + }}.{{ ansible_facts.architecture }}.rpm