Skip to content

Commit

Permalink
fix(apt): Allow dowgrades for azure-cli and docker APT packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Mar 15, 2024
1 parent b6c814f commit 16c7bc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/software/tasks/azurecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
when: azurecli_apt_version not in ['latest', 'present', 'absent']
ansible.builtin.apt:
update_cache: true
allow_downgrade: true
name: "azure-cli={{ azurecli_apt_version }}"

- name: '[AzureCLI] Get installed package version'
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/software/tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
when: item.value not in ['latest', 'present', 'absent']
ansible.builtin.apt:
update_cache: true
allow_downgrade: true
name: "{{ item.key }}={{ item.value }}"
loop: "{{ docker_apt_packages | dict2items }}"

Expand Down

0 comments on commit 16c7bc5

Please sign in to comment.