fix: install proper dotnet versions
This commit is contained in:
parent
44949430b5
commit
b09fdfba56
@ -23,12 +23,13 @@
|
||||
when: not dotnet_installed.stat.exists
|
||||
|
||||
- name: Run dotnet installer
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- bash
|
||||
- install.sh
|
||||
- -i
|
||||
- "{{ dotnet_install_path }}"
|
||||
ansible.builtin.shell:
|
||||
cmd: ./install.sh --channel "{{ dotnet_release_channel }}" --version latest -i "{{ dotnet_install_path }}"
|
||||
chdir: "{{ dotnet_work_dir.path }}"
|
||||
changed_when: true
|
||||
when: not dotnet_installed.stat.exists
|
||||
loop_control:
|
||||
loop_var: dotnet_release_channel
|
||||
loop:
|
||||
- STS
|
||||
- LTS
|
||||
|
Loading…
Reference in New Issue
Block a user