fix: install proper dotnet versions

This commit is contained in:
Price Hiller 2023-01-17 14:35:27 -06:00
parent 44949430b5
commit b09fdfba56

View File

@ -23,12 +23,13 @@
when: not dotnet_installed.stat.exists when: not dotnet_installed.stat.exists
- name: Run dotnet installer - name: Run dotnet installer
ansible.builtin.command: ansible.builtin.shell:
argv: cmd: ./install.sh --channel "{{ dotnet_release_channel }}" --version latest -i "{{ dotnet_install_path }}"
- bash
- install.sh
- -i
- "{{ dotnet_install_path }}"
chdir: "{{ dotnet_work_dir.path }}" chdir: "{{ dotnet_work_dir.path }}"
changed_when: true changed_when: true
when: not dotnet_installed.stat.exists when: not dotnet_installed.stat.exists
loop_control:
loop_var: dotnet_release_channel
loop:
- STS
- LTS