Skip to content

Commit

Permalink
The apt module only knows about allow_downgrade since ansible-base 2.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 20, 2022
1 parent 4283a9e commit 4021208
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/install/vars/D-Debian-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _community_sops_install_system_has_system: false
_community_sops_install_system_has_system_latest_only: true
_community_sops_install_system_has_github: true

_community_sops_install_allow_downgrade: true
_community_sops_install_allow_downgrade: '{{ ansible_version.full is version("2.12", ">=") }}'

_community_sops_install_system_packages:
- gnupg
Expand Down
2 changes: 1 addition & 1 deletion roles/install/vars/D-Ubuntu-20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _community_sops_install_system_has_system: false
_community_sops_install_system_has_system_latest_only: true
_community_sops_install_system_has_github: true

_community_sops_install_allow_downgrade: true
_community_sops_install_allow_downgrade: '{{ ansible_version.full is version("2.12", ">=") }}'

_community_sops_install_system_packages:
- gnupg
Expand Down
2 changes: 1 addition & 1 deletion roles/install/vars/OS-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _community_sops_install_system_has_system: false
_community_sops_install_system_has_system_latest_only: true
_community_sops_install_system_has_github: true

_community_sops_install_allow_downgrade: true
_community_sops_install_allow_downgrade: '{{ ansible_version.full is version("2.12", ">=") }}'

_community_sops_install_system_packages:
- gnupg
Expand Down

0 comments on commit 4021208

Please sign in to comment.