diff --git a/images/capi/ansible/roles/providers/tasks/awscliv2.yml b/images/capi/ansible/roles/providers/tasks/awscliv2.yml index 4a301ba053..8ef42ce2a7 100644 --- a/images/capi/ansible/roles/providers/tasks/awscliv2.yml +++ b/images/capi/ansible/roles/providers/tasks/awscliv2.yml @@ -91,7 +91,7 @@ when: ansible_os_family != "Flatcar" - name: Install AWS CLI v2 - ansible.builtin.command: /tmp/aws/install -i /usr/local/aws-cli -b /usr/local/sbin + ansible.builtin.command: /tmp/aws/install --update -i /usr/local/aws-cli -b /usr/local/sbin when: ansible_os_family != "Flatcar" - name: Remove temporary files