Add vars include to linroom, winroom
This commit is contained in:
parent
6f6643a0e5
commit
7bc7891837
11 changed files with 46 additions and 6 deletions
4
roles/visualstudio19/tasks/main.yml
Normal file
4
roles/visualstudio19/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
2
roles/visualstudio19/tasks/main_lin.yml
Normal file
2
roles/visualstudio19/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Do not install VisualStudio on Linux
|
||||
debug: Do not install VisualStudio on Linux
|
5
roles/visualstudio19/tasks/main_win.yml
Normal file
5
roles/visualstudio19/tasks/main_win.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: Install Microsoft Visual Studio 2019
|
||||
win_chocolatey:
|
||||
name: visualstudio2019community
|
||||
|
||||
# Maybe sometime use https://learn.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2022 with the costlier version
|
Loading…
Add table
Add a link
Reference in a new issue