diff --git a/ansible/roles/software/tasks/azurecli.yml b/ansible/roles/software/tasks/azurecli.yml index f7c8ff9..e9aa4f2 100644 --- a/ansible/roles/software/tasks/azurecli.yml +++ b/ansible/roles/software/tasks/azurecli.yml @@ -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' diff --git a/ansible/roles/software/tasks/docker.yml b/ansible/roles/software/tasks/docker.yml index fa8f886..9e04544 100644 --- a/ansible/roles/software/tasks/docker.yml +++ b/ansible/roles/software/tasks/docker.yml @@ -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 }}"