Add vars include to linroom, winroom
This commit is contained in:
parent
6f6643a0e5
commit
7bc7891837
11 changed files with 46 additions and 6 deletions
|
@ -3,4 +3,4 @@
|
|||
# Windows, VMware Workstation 16.2.4 Player, wireshark
|
||||
dependencies:
|
||||
- role: wireshark
|
||||
- role: vmware_player
|
||||
- role: virtualbox
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# Nejc.Ilc@fri.uni-lj.si
|
||||
# Windows, VMware Workstation 16.2.4 Player
|
||||
dependencies:
|
||||
- role: vmware_player
|
||||
- role: twincat3
|
||||
|
|
4
roles/twincat3/meta/main.yml
Normal file
4
roles/twincat3/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
# dependencies:
|
||||
# - role: fri_base
|
||||
dependencies:
|
||||
- role: visualstudio19
|
4
roles/twincat3/tasks/main.yml
Normal file
4
roles/twincat3/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/twincat3/tasks/main_lin.yml
Normal file
2
roles/twincat3/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Do not install TwinCat 3 on Linux
|
||||
debug: Do not install TwinCat 3 on Linux
|
5
roles/twincat3/tasks/main_win.yml
Normal file
5
roles/twincat3/tasks/main_win.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: Install TwinCat 3
|
||||
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
|
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