Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using an AMI with aws CLI already the process fails due to this error: ``` amazon-ebs.ubuntu-22.04: fatal: [default]: FAILED! => {"changed": true, "cmd": ["/tmp/aws/install", "-i", "/usr/local/aws-cli", "-b", "/usr/local/sbin"], "delta": "0:00:01.067315", "end": "2024-08-26 23:55:10.251337", "msg": "non-zero return code", "rc": 1, "start": "2024-08-26 23:55:09.184022", "stderr": "Found preexisting AWS CLI installation: /usr/local/aws-cli/v2/current. Please rerun install script with --update flag.", "stderr_lines": ["Found preexisting AWS CLI installation: /usr/local/aws-cli/v2/current. Please rerun install script with --update flag."], "stdout": "", "stdout_lines": []} ``` I propose to install the aws cli with the --upgrade option in order to overcome these situations
- Loading branch information