Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify installation of az CLI on Windows #1365

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions images/capi/ansible/windows/roles/providers/tasks/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,7 @@
vars:
users: "{{ wire_server_users.split(',') if (wire_server_users is defined) and (wire_server_users | length > 0) else [] }}"

- name: Download Azure CLI MSI installer
ansible.windows.win_get_url:
url: https://aka.ms/installazurecliwindowsx64
dest: C:\azure-cli.msi

- name: Install Azure CLI
ansible.windows.win_package:
path: C:\azure-cli.msi
path: https://aka.ms/installazurecliwindowsx64
state: present

- name: Clean up Azure CLI Installer file
ansible.windows.win_file:
path: C:\azure-cli.msi
state: absent